Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSmark_proc_norepl

  No additional text.


Syntax
create procedure sys.sp_MSmark_proc_norepl
    @procname nvarchar(517)
as
    set nocount on
    declare @obj_tmp int

    -- CHECK PERMISSIONS (MUST BE DBO) 
    if not (is_member('db_owner')=1 or is_srvrolemember('sysadmin') = 1)
    begin
        raiserror(20521,0,1)
        return 1
    end

    BEGIN TRANSACTION
    -- CHECK THE OBJECT NAME 
    select @obj_tmp = object_id(@procname, 'local')
    if not (@obj_tmp is null)
    begin
        EXEC %%Object(MultiName = @procname).LockMatchID(ID = @obj_tmp, Exclusive = 1, BindInternal = 0)
        if @@error <> 0
            select @obj_tmp = null
    end

    if @obj_tmp is null
    begin
        COMMIT TRANSACTION  -- nothing changed
        raiserror(20522,0,1,@procname)
        return (1)
    end

    -- DO THE UPDATE 
    EXEC %%Module(ID = @obj_tmp).SetSkipReplConstraints(Value = 1)
    COMMIT TRANSACTION
    return (0)

 
Last revision 2008RTM
See also

  sp_MSdrop_repltran (Procedure)
sp_MSgen_sync_tran_procs (Procedure)
       



News

  Query a named instance
Sybase+ASE+silent+install
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
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash