Very new to SQL servers. I have an update trigger and would like to do some playing around / testing. I would like to select * from updated. But I can't think how to output this?
Is there an output I can send this too?
Very new to SQL servers. I have an update trigger and would like to do some playing around / testing. I would like to select * from updated. But I can't think how to output this?
Is there an output I can send this too?
尝试使用 PRINT 命令输出:http: //msdn.microsoft.com/en-us/library/ms176047.aspx
DECLARE @VarName <type>;
SELECT @VarName = <column> FROM inserted;
PRINT @VarName;