我照你的方法跟踪了一下,你帮我看看好吗?
写英文:
sp_reset_connection
go
sp_executesql N'INSERT INTO dbo.wj_department (wj_dep_name, wj_dep_ip) VALUES (@wj_dep_name, @wj_dep_ip)', N'@wj_dep_name varchar(5),@wj_dep_ip varchar(8)', 'sdfsd', 'asdfasdf'
go
写中文:
sp_reset_connection
go
SELECT * FROM dbo.wj_department ORDER BY wj_dep_id DESC
go
sp_reset_connection
go
sp_executesql N'INSERT INTO dbo.wj_department (wj_dep_name, wj_dep_ip) VALUES (@wj_dep_name, @wj_dep_ip)', N'@wj_dep_name varchar(2),@wj_dep_ip varchar(2)', '??', '??'
go
sp_reset_connection
go
SELECT * FROM dbo.wj_department ORDER BY wj_dep_id DESC
go