Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i want to know more about how do we use views in our procedures

Though it is a bit complicated one i would like to go deep with views...
Please suggest and guide me in creating and using views in my procedures.
Posted
Updated 12-Aug-11 2:45am
v2

Views are not just for procedures you can use a view in many situations since it acts (almost) like a table.

As a starting point, see: Designing and Implementing Views[^]
 
Share this answer
 
If you need to create something for holding data in a stored procedure, then you may need to investigate temp tables. ( Clickey[^]).
If you just need to read data from view, they can be treated exactly like a read-only table.
 
Share this answer
 
v2
Comments
Corporal Agarn 12-Aug-11 10:27am    
In SQL server some views can also be used to change the underlying table.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900