isempty ()
Zwraca wartość true , jeśli argument jest pustym łańcuchem lub ma wartość NULL.
isempty("") == true
Składnia
isempty([wartość])
Zwraca
Wskazuje, czy argument jest pustym łańcuchem, czy ma wartość isnull.
| x | isempty (x) |
|---|---|
| "" | prawda |
| "x" | fałsz |
| parsejson ("") | prawda |
| parsejson ("[]") | fałsz |
| parsejson ("{}") | fałsz |
Przykład
View
| where isempty(fieldName)
| count