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
 Transact-SQL (2000)
 EXEC statement in User Defined Functions

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-12-12 : 08:33:35
Sagar writes "Hi,

I am curious to know whether we can use EXEC statement in user defined functions. If we can use, what is the syntax?

Thanks and Regards,
Sagar"

nr
SQLTeam MVY

12543 Posts

Posted - 2003-12-12 : 08:41:12
Only to call extended SPs. It will give an error otherwise.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -