Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Merge 2 fields into one
Message
 
 
À
11/06/2003 11:51:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00798976
Message ID:
00798982
Vues:
21
This message has been marked as the solution to the initial question of the thread.
Steve,

Try
SELECT fvdwg AS dwg FROM mytable ;
UNION
SELECT fhdwg AS dwg FROM mytable ;
INTO CURSOR crsResult
>I'm not sure what the best way to do this is. Can it be done with select-sql?
>
>I have a table with 2 fields. One field contains Customer drawing names, the other contains vendor drawing names, Both are character fields c(30).
>mytable.fvdwg
>mytable.fhdwg
>
>I want to build a cursor that contains all fvdwg's and all fhdwg's and no duplicates, in one field. mycursor.fdwg
>
>Can we merge 2 fields into one with select-sql or will I have to use traditional methods, create cursor, insert etc...
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform