Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a local view with whatever SQL statement?
Message
From
30/09/1998 13:01:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/09/1998 12:46:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00142471
Message ID:
00142479
Views:
30
>Hi,
> I don't really know whether there is a way of doing this, I want to create a view without using the View Wizard with an SQL statement that I type. From the view wizard, I can see the equivalent SQL statement, but I couldn't edit it. Is there any way of doing this?
>And this view may have parameters and it will be included in DE of a form. I basically want to avoid writing SQL queries(the cursors) in the code and want to keep them in a view.
>
>Please help.
>
>Thanks
>Puri
Puri,
Copy that SQL and in command window try :
create sql view myview ;
as select ....
* select .. part is what you copied
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