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
 execute an SP by passing params from another SP

Author  Topic 

shakthiA
Starting Member

12 Posts

Posted - 2008-05-07 : 06:58:06
Hi

I am trying to execute a stored procedure from another stored procedure by passing parameters. any idea please.
I have tried with EXECUTE PROC dbo.dxGetMemberActivityData (@author) RETURNING_VALUES RESULT

but I am getrting incorrect sytax near PROC

Vadivu
Starting Member

31 Posts

Posted - 2008-05-07 : 07:27:14
try removing dbo. or proc keyword . something of these two should work.
Go to Top of Page

RyanRandall
Master Smack Fu Yak Hacker

1074 Posts

Posted - 2008-05-07 : 07:29:43
quote:
RETURNING_VALUES

RETURNING_VALUES? Are you using Microsoft SQL Server?


Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
Go to Top of Page
   

- Advertisement -