Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a variable in a view SQl 7.0 and 6.0
Message
From
04/07/2002 18:26:33
 
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00673826
Message ID:
00675456
Views:
24
Thanks Daniel that is a good idea.

Jim

>>Darn notebooks. I hit the wrong button. anyway i would like to test in the WHERE statement if the year in track.schoolyear is = to the value in schoolyear.nschoolyear. So this year it would be equivalent to
>>WHERE track.schoolyear = 2003.
>>So to summarize
>>I would like to be able to change the value in the WHERE statement for the schoolyear.
>>
>
>You can't build a parameterized view like you can in VFP, but you can query it just like any other table. Build the view without the where clause, and supply that when you need it.
Previous
Reply
Map
View

Click here to load this message in the networking platform