Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Varchar data length
Message
De
18/03/2005 09:01:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00997157
Message ID:
00997206
Vues:
9
>>Sergey,
>>but for this...
>>
>>SET ANSI_PADDING ON
>>SELECT CAST('aaaa  ' AS VARCHAR(20))+'X'
>>SET ANSI_PADDING OFF
>>SELECT CAST('aaaa  ' AS VARCHAR(20))+'X'
>>
>
>Fabio,
>
>What's your question or comment?

Only this:
if you, in a sp_xxx, return data with a SELECT and SET ANSI_PADDING OFF
SQL don't remove trailing spaces;
if, after, you chnge the sp_xxx,
and put data into a temp table and return temp table,
the result is different.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform