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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-09-17 : 22:19:20
|
| Mo writes "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 outthanks in advance" |
|
|
|
|
|