Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSgetarticlereinitvalue

  No additional text.


Syntax
create procedure sys.sp_MSgetarticlereinitvalue
(
    @subscriber sysname,
    @subscriberdb sysname,
    @publication sysname,
    @artid int,
    @reinit int output
)
as
begin
    set NOCOUNT ON
    declare @retcode int

    
    -- return NULL if no parameters supplied
    
    if ((@subscriber IS NULL) or (@subscriberdb IS NULL) or (@publication is null) or (@artid IS NULL))
    begin
        select @reinit = NULL
        return 1
    end
    
    -- PAL security check
    
    exec @retcode = sys.sp_MSreplcheck_pull @publication = @publication
    if @@error <> 0 or @retcode <> 0
    begin
        return (1)
    end
    
    -- get the value of reinit flag
    
    select @reinit = queued_reinit
    from syssubscriptions
        where srvname = UPPER(@subscriber)
		and (srvname is not null and len(srvname)> 0)
        and artid = @artid
        and dest_db = @subscriberdb
    
    -- All done
    
    return 0
end

 
Last revision 2008RTM
See also

  sp_MSdrop_repltran (Procedure)
sp_MSscript_ExecutionMode_stmt (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