Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defining views.
Message
From
07/08/2001 10:47:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
07/08/2001 10:42:08
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00540683
Message ID:
00540687
Views:
20
AdbObjects() will place information about tables, views, and other information more, into an array.

Hilmar.

>Hello,
>
>I do not like so much to define the views in the DBC and to distribute the DBC.
>Because of this, I define the view always in code in the program. But the problem here is performance: it takes quite some time. So I would like to check whether it is necessary to update the view definition: Does the view exist, has the view definition changed etc.
>Especially whether the view exists I could not figure out in code.
>If this is possible, then I just create the view when it does not exist, otherwise I do not need to create the view. And in the upgrade procedures (with a new version) I create all views again.
>
>What is the syntax for checking whether a view exists?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform