Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 view from stored procedure

Author  Topic 

nisar
Starting Member

29 Posts

Posted - 2009-02-23 : 02:17:23
Hi
I m running one stored procedure which returns around
1000 rows now i want to create view from this
stored procedure like a from stored procedure b
so i can select result like this

select * from a

anyone have idea about this

thanks and reagards
Nisar

krij
Starting Member

9 Posts

Posted - 2009-02-23 : 03:38:35
You can not create the views for stored procedure.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-02-24 : 10:05:41
why do you want to create view from stored procedure? can you explain purpose?you could simply make procedure into table valued udf instead so that you can use it like a table in selects and joins
Go to Top of Page
   

- Advertisement -