Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Merge 2 fields into one
Message
 
 
To
11/06/2003 11:51:11
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00798976
Message ID:
00798982
Views:
22
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform