Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create empty memo in SQL Select
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00996757
Message ID:
00996758
Vues:
13
This message has been marked as the solution to the initial question of the thread.
select MYFIELD1, MYFIELD2, CAST(space(10) AS memo) as MYNEWFLD from MYTABLE
Before VFP9 see Re: Adding memo field as calculated field Message #683252

>I want to add an empty field to the cursor created with SQL Select.
>The field should of memo type, so that later it can be populated.
>
>For example, if I wanted the field to be of char type I would do the following?
>
>
>select MYFIELD1, MYFIELD2, space(10) as MYNEWFLD from MYTABLE
>
>
>But what would I put in the place of "space(10)" if I want the MYNEWFLD to be of memo type?
>
>I realize I can add the field after I create the cursor, but I am curious if it is possible to do in one expression.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform