General information
Forum:
Microsoft SQL Server
Environment versions
SQL Server:
SQL Server 2000
Hi,
Is it possible to assign an return value from an Stored Proc to a variable locale.
My first SP return a value.
I want that my second SP exec that first SP in the second.
Example:
Declare @x int
set @x = exec SP1
select @x
I got an error.
Thank in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only