Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get New Memo Field in SQL
Message
De
24/07/2008 10:38:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
24/07/2008 10:28:57
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01333741
Message ID:
01333743
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Since you have version 9, this gets extremely simple with the cast() function. Specifically, you don't need to fool around with temporary tables or cursors:
SELECT MyField1, MyField2, CAST("" as M) as MyMemo;
	FROM MyTable
>I'm trying to do that little trick to get a new memo field in a SQL, but can't quite recall how to do it. This is what I have, which returns an error on the SQL:
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform