Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Empty syntax to update a character field
Message
From
05/03/1998 18:31:11
 
 
To
05/03/1998 18:23:59
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00082836
Message ID:
00082846
Views:
38
>>Why is it that when I do this:
>>
>>UPDATE ACRONYM SET ACRONYM="" WHERE PKID=10575
>>
>>SQL Server 6.5 will always put a default space for a length of 1 in the table?
>>
>>How can we accomplish a length of 0 which is what I am trying to do here?
>
>Can you UPDATE with NULL?

That works.

However, the LEN() of ACRONYM is now NULL as the value is.

How would I extract that record using a SQL? I tried:

SELECT * FROM ACRONYM WHERE ISNULL(ACRONYM)

but this gives an error.

What I am trying to do is to know which records have an empty value for ACRONYM.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform