Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty string for default on a char field
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Titre:
Empty string for default on a char field
Divers
Thread ID:
00482602
Message ID:
00482602
Vues:
35
I tried '' as empty default on a char field and now "''" shows up as the content of that field.

In books online I see space(0), rtrim(' ',0) etc as yielding the empty string.

Which one is the proper way to indicate an empty string to an update query, insert query or in the default definition of the design of a table?

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform