Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL placeholder for a Memo Field ?
Message
De
07/10/1999 03:24:19
 
 
À
07/10/1999 02:59:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00273545
Message ID:
00273555
Vues:
21
>Hi Russell,
>
>>SELECT *, SPACE(10) AS Dummy FROM MyTable
>>Will create a Dummy Field of C(10), How can I ensure that Dummy is a memo Field ? (Note SPACE(256) gives an error)
>
>
>You could try:
>
>CREATE CURSOR tempcursor (Dummy M)
>SELECT mytable.*, tempcursor.dummy FROM MyTable, tempcursor
>

Whoops. Remember to append a blank to tempcursor first i.e.

CREATE CURSOR tempcursor (Dummy M)
SELECT tempcursor
APPEND BLANK
SELECT mytable.*, tempcursor.dummy FROM MyTable, tempcursor

Best.

Matt.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform