Click here to Skip to main content
15,905,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What should I use if I want to get rows of data.
Should I use view and just do "SELECT * FROM [myview]"? or is there a better way?
Posted
Comments
ZurdoDev 7-Jan-13 8:38am    
That will work. Or, just select * from table. Or, create a stored procedure or function. It just depends on what you are doing.
Daskul 7-Jan-13 8:42am    
What is the term for Views, Functions, Stored Procedures, Routines? Is there some kind of thing like them that returns multiple row data so that I can omit the SELECT statement?

1 solution

Is there some kind of thing like them that returns multiple row data so that I can omit the SELECT statement?
AFAIK, No. Whatever you use, table, view or SP, you need to have a SELECT at the end to retrieve data.
 
Share this answer
 

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