sql server 触发器 游标
CREATETRIGGERtesttesttest1ON[dbo].[testtesttest]FORINSERTASdeclare@d_problemsIDvarcha...
CREATE TRIGGER testtesttest1 ON [dbo].[testtesttest]
FOR INSERT
AS
declare @d_problemsID varchar(10)
declare d_problems_Cursor cursor for
select a from testtesttest
open d_problems_Cursor
fetch next from d_problems_Cursor into @d_problemsID
while @@fetch_status=0
begin
select * from testtesttest
end
CLOSE d_problems_Cursor
DEALLOCATE Employee_Cursor
这段代码导致testtesttest表在企业管理器里不能添加数据谁给知道一下?在线等 展开
FOR INSERT
AS
declare @d_problemsID varchar(10)
declare d_problems_Cursor cursor for
select a from testtesttest
open d_problems_Cursor
fetch next from d_problems_Cursor into @d_problemsID
while @@fetch_status=0
begin
select * from testtesttest
end
CLOSE d_problems_Cursor
DEALLOCATE Employee_Cursor
这段代码导致testtesttest表在企业管理器里不能添加数据谁给知道一下?在线等 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询