Return early if table name is nil or empty