日期:2014-05-17 浏览次数:20635 次
if (exists (select * from sys.objects where name = 'stop_Delete_Customer'))
drop trigger stop_Delete_Customer
go
create trigger stop_Delete_Customer
on T_customer
for insert
as
print 'hello world'
if (exists (select * from sys.objects where name = 'stop_Delete_Customer'))
drop trigger stop_Delete_Customer
go
create trigger stop_Delete_Customer
on T_customer
for insert
as
begin
print 'hello world'
end