結果 : sql function to check null or empty