Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty syntax to update a character field
Message
De
05/03/1998 18:31:11
 
 
À
05/03/1998 18:23:59
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00082836
Message ID:
00082846
Vues:
34
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform