Paylaşım Databasende Trigger Varsa Silme

A

Admin

#1
Kod:
USE SRO_VT_SHARD
GO
SELECT trigger_name = name, trigger_owner = USER_NAME(uid), table_name = OBJECT_NAME(parent_obj), isupdate = OBJECTPROPERTY( id, 'ExecIsUpdateTrigger'), isdelete = OBJECTPROPERTY( id, 'ExecIsDeleteTrigger'), isinsert = OBJECTPROPERTY( id, 'ExecIsInsertTrigger'), isafter = OBJECTPROPERTY( id, 'ExecIsAfterTrigger'), isinsteadof = OBJECTPROPERTY( id, 'ExecIsInsteadOfTrigger'), status = CASE OBJECTPROPERTY(id, 'ExecIsTriggerDisabled') WHEN 1 THEN 'Disabled' ELSE 'Enabled' END FROM sysobjects WHERE type = 'TR'

Kod:
SELECT DISTINCT o.name AS Object_Name, o.type_desc FROM sys.sql_modules m INNER JOIN sys.objects o ON m.object_id = o.object_id WHERE m.definition Like '%truncate%tb_user%'

Varsa Eğer Silmek İcin

Kod:
SRO_VT_SHARD
drop trigger trigger_adı
 
Get involved!

Here you can only see a limited number of comments. On GameXForum | Bilgi ve Paylaşım Platformu you see all comments and all functions are available to you. To the thread