Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Varchar data length
Message
From
18/03/2005 09:01:21
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00997157
Message ID:
00997206
Views:
10
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform