Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to copy views from one database to another ?
Message
From
06/10/2008 15:31:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01352920
Message ID:
01353134
Views:
35
>>>Hi,
>>>
>>>How to copy views from one database to another ?
>>>
>>>Please advise.
>>>
>>>Derek
>>
>>Open database myDBC1
>>lcSQL = dbGetProp('myView',"VIEW","SQL")
>>open database myDBC2
>>create sql view myView as &lcSQL
>>
>>Cetin
>
>Hi,
>
>That would copy the SQL command - but won't a lot of the other view related information (key fields etc) be missing from the new view?
>
>Regards,
>Viv

And all those can be queried and set using dbget/setprop.
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