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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 stored procedure , insert and select

Author  Topic 

marco82
Starting Member

1 Post

Posted - 2000-12-26 : 15:25:18
i'm italian, sorry for my english;

i can't find the solution for my problem in all my books:

i want that in a stored procedure i do two think

an insert and a select



This is my procedure


Alter Procedure Proc1
As
insert tab1 (colum1) values ('a')
select 'c' as c



My problem is that this procedure execute only the insert and NOT EXECUTE THE SELECT

Which is the problem??

Thanks you very much

   

- Advertisement -