Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC results
Message
De
22/06/2007 06:44:00
 
 
À
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:
01234931
Vues:
10
>>>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?

Not because the SQL Engine declare the column with the worst case
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform