Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Parameters in SQL Server
Message
From
13/07/2002 16:41:59
 
 
To
12/07/2002 17:51:11
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00678297
Message ID:
00678436
Views:
10
As Sergey mentions, SQL Server does not implement anything like VFP's parameterized views.

When you query against a SQL Server view, your query and the view's definition are integrated into a single query. You can almost think if it as if SQL Server "inlined" the view definition into your query.

The point is that the SARGs (search arguments) of your query become the parameters that the view uses.

-Mike

>What is the syntax (does it exist?) for setting up view parameters in SQL Server similar to VFP?
>
>P.S. For those of you who would like an exhaustive list of approaches that don't work, please contact me directly.
>
>Paul LaForge
>plaforg@utah.gov
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform