我不能更改/删除数据库中的任何对象,只能创建、插入和删除记录。例如,我得到了..。
您不能将消息3609,第16级,状态2,第1行的事务在触发器中终止。批处理已中止。
在以下代码上(在drop table步骤上):
create schema Test
go
create table test.test (
test varchar(5)
)
go
insert into test.test(test) values('test')
go
select *
from Test.test
go
drop table Test.test
go
drop schema Test
g