Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Query problem
Message
 
 
À
25/09/2003 12:33:06
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00832335
Message ID:
00832339
Vues:
22
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform