Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC results
Message
 
 
À
20/06/2007 13:04:16
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:
01234532
Vues:
9
>>>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?

No, it may not be enough.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform