Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server 2000/2005 Syntax Clarification
Message
 
À
16/08/2006 16:30:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01146192
Message ID:
01146202
Vues:
15
Tracy,

Just RTRIM() the name inside the ISNULL().

HTH,
Chad


>update tbl_main set name = isnull(name,'') +' MORE STUFF TO ADD TO NAME FIELD' where my_id = '01-011'
>
>
>Why not? It returns string or binary data would be truncated.
>
>Cannot do this either because it is a char:
>
>update tbl_main set name .write (N' MORE STUFF',NULL,0) where my_id = '01-011'
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform