Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized view for no parameter?
Message
From
17/02/2004 10:10:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Parameterized view for no parameter?
Miscellaneous
Thread ID:
00877929
Message ID:
00877929
Views:
60
I've got a couple parameterized views that could be reused without the parameter (for reporting purposes). Is it better to create a separate view without the parameter, or is it possible to massage the parameter somehow?

Select * from customer where custid = ?vp_custid

There's another view where the parameter is from a second table, how would I do that?

Select * from customer inner join address on customer.addressid = address.addressid where address.country = ?vp_country
Next
Reply
Map
View

Click here to load this message in the networking platform