Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC results
Message
De
20/06/2007 13:04:16
 
 
À
20/06/2007 12:54:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01234527
Message ID:
01234530
Vues:
8
>>I am selecting firstname + ' ' + lastname from SQL using SQLEXEC. The result column on Fox side is a memo field. Can it be a "C" type?
>
>Try to limit the lenghth of the value returned.
>
>CAST(firstname + ' ' + lastname AS char(50))
>
Well, I am trimming both columns on SQL side:
select *, rtrim([first name]) + ' ' + rtrim([last name]) as fullname
still not good enough?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform