Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT SQL 2 memo fields in one field
Message
 
 
À
14/07/1997 13:08:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039857
Message ID:
00039878
Vues:
33
>Is there a way in a SELECT SQL, to have 2 memo fields resulted in one memo field?
>
>In my table, I have 2 memo fields. Let say MEMO1 and MEMO2. I would like to do something like this in my SQL:
>
>SELECT MEMO1+MEMO2 FROM mytable...
>
>But, this gives "String is too long to fit". Any workaround for that?
You can try trimming the contents of the memo field to shorten the overall return field's space. Something like:
SELECT ALLTRIM(memo1)+ALLTRIM(memo2) FROM mytable...
else, you might have to select both fields in your SELECT and combine the info into one variable by code.

John
It's "my" world. You're just living in it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform