Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.


create procedure sys.sp_MSDropTriggerProcs
    @qual_source_object nvarchar(540),
    @pubid uniqueidentifier
    declare @artid uniqueidentifier
    declare @retcode int
	declare @table_name sysname
	declare @schema_name sysname

	select @table_name = PARSENAME(@qual_source_object, 1)

	-- NULL is fine here as sp_MSdroparticletriggers will take care of it
	select @schema_name = PARSENAME(@qual_source_object, 2)

    select @artid= artid from dbo.sysmergearticles
        where objid=object_id(@qual_source_object) and pubid=@pubid

    exec @retcode= sys.sp_MSdrop_ins_conflict_proc @pubid=@pubid, @artid=@artid
    if @@error<>0 or @retcode<>0 return 1

    exec @retcode= sys.sp_MSdroparticletriggers @table_name, @schema_name
    if @@ERROR<>0 or @retcode <>0 return (1)
    return (0)

Last revision 2008RTM
See also

  sp_MSmerge_altertable (Procedure)


  Query a named instance
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
Zoekmachine optimalisatie
SQL Servers hidden objects
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
sIFR; de combinatie tussen HTML en Flash