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 |
|
Da_Retina
Posting Yak Master
109 Posts |
Posted - 2001-09-11 : 02:51:40
|
| Hi..Can I use DELETED and INSERTED (special trigger tables) in the context of a dynamic sql statement?..if not what can I do to retrieve data from deleted and inserted in a dynamic statement?..thanks in advance..here is my example..Set @SelectStr=N'Select @ToValue = ' + @ColName + ' From TableName'execute sp_executesql @SelectStr,N'@ToValue char(255) out',@ToValue out |
|
|
|
|
|