Link to home
Start Free TrialLog in
Avatar of Ron Renninger
Ron Renninger

asked on

sql views

I am using crystal report to print a packing slip. I found a way to use a database view to do it. The question i have is i wan it to be able to have the program to have a variable to use in a where clause

(@OrderId Int)
As

select billName, billAddress1, billAddress2
from Orders
Where OrderId = @OrderId

Will this work or do i need to do something else
SOLUTION
Avatar of Sharath S
Sharath S
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial