General information
Category:
Coding, syntax & commands
>>>>You can use
>>>>
>>>>update States set State = 'SP' where Len(State) = 0 && Empty state
>>>
>>>That will not work, as all fields will have the length of the field, you need len(alltrim(State)) = 0, but I would rather use empty(State)
>>
>>In this case EMPTY(State) should work (assuming State is not a memo field).
>
>Empty() works on any type of field or expression, that's the beauty of it. Even memos.
Yupp, only marred by erroring out on objects...
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only