Home Forums SQL Server 2005 T-SQL (SS2K5) Calling a stored procedure from within a function RE: Calling a stored procedure from within a function
saty
SSC Veteran
Points: 291
More actions
July 5, 2006 at 2:46 pm
#647621
Hi,
I have a udf. I need to call a sp on the same server. I tried using the above code. But I am getting errors in the secnd step
select * from openquery(MyServer, 'exec sp_who')go
Can u send me some sample code.
Thanx