Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Merge 2 fields into one
Message
From
11/06/2003 11:55:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
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:
00798978
Views:
21
>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...

select distinct fvdwg+fhdwg as merged from myTable into cursor crsMyCursor
browse

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform