日期:2014-05-17 浏览次数:20480 次
SET @sqlStr = N'INSERT INTO [dbo].[@name] VALUES(@conName,@message,GETDATE());'; EXEC sp_executesql @sqlStr,N'@name USERNAME,@conName USERNAME,@message nvarchar(500)',@name,@conName,@message;