Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View from 2 tables like UNION
Message
From
04/12/1998 05:10:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00163996
Message ID:
00164006
Views:
21
>Is it possible to make view as follows:?
>SELECT * FROM table1 ;
>UNION ;
>SELECT * FROM table2
>
>Where table1 and table2 has identical structure.
>
>Giedrius
Hi Giedrius,
Yes you could do it just by adding "create sql view myViewName as .." in front. In view designer no way to do it AFAIK. I'm not sure of this but IMHO that would be practically a nonUpdatable view and hence not much different from an editable cursor (except that you could set some properites directly in DBC where for an editable cursor you should redo it on the fly).
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
Next
Reply
Map
View

Click here to load this message in the networking platform