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)
 SQL Server User defined function

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-07-13 : 10:13:31
Yogesh writes "I'm trying to write a function which is used in one of my views
This function is deleting and inserting parameter values in table depending upon condition.
Can I able to use 'Delete' and 'Insert' statements in user defined functions."

nr
SQLTeam MVY

12543 Posts

Posted - 2004-07-13 : 10:21:29
No. Only for table variables
See create function in bol.

==========================================
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 -