Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Query problem
Message
 
 
To
25/09/2003 12:33:06
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00832335
Message ID:
00832339
Views:
20
Hi Fabio,

I've no problem running all three selects. Here're results
f1         lf1         
---------- ----------- 
 pippo               6 


f1         lf1         
---------- ----------- 
pippo               6 


f1         lf1         
---------- ----------- 
pippo               6 
What did you expect?

>Run this on SQL Query
>
>SELECT CONVERT(VARCHAR(10),CHAR(0)+'pippo') f1,len(CONVERT(VARCHAR(10),CHAR(0)+'pippo')) lf1
>
>SELECT CONVERT(VARCHAR(10),CHAR(1)+'pippo') f1,len(CONVERT(VARCHAR(10),CHAR(1)+'pippo')) lf1
>
>SELECT CONVERT(VARCHAR(10),CHAR(2)+'pippo') f1,len(CONVERT(VARCHAR(10),CHAR(2)+'pippo')) lf1
>
>
>Fabio
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform