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.
Author |
Topic |
Swati Jain
Posting Yak Master
139 Posts |
Posted - 2007-04-13 : 06:52:49
|
DECLARE @RC intDECLARE @SUBORDER_GUID varchar(50)DECLARE @SUBORDER_MODIFIED_BY varchar(50)SELECT @SUBORDER_GUID = NULLSELECT @SUBORDER_MODIFIED_BY = NULLEXEC @RC = [M3].[dbo].[M3_SUBORDER_SPLIT] @SUBORDER_GUID, @SUBORDER_MODIFIED_BYDECLARE @PrnLine nvarchar(4000)PRINT 'Stored Procedure: M3.dbo.M3_SUBORDER_SPLIT'SELECT @PrnLine = ' Return Code = ' + CONVERT(nvarchar, @RC)PRINT @PrnLine |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-04-13 : 06:56:17
|
Read about Procedure and Output parameter in sql server help fileMadhivananFailing to plan is Planning to fail |
|
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2007-04-13 : 07:03:39
|
SP? But I don't see the contents of SP here...all you posted is how you are calling an SP, returning completion status in some variable and printing the status variable.Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
|
|
|
|
|