Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.

create procedure sys.sp_getqueuedarticlesynctraninfo
    @publication sysname    -- publication - cannot be null
    ,@artid int                     -- article id - cannot be null
    set nocount on
    declare @retcode int
                ,@owner sysname
                ,@synctraninsproc sysname
                ,@synctranupdproc sysname
                ,@synctrandelproc sysname
                ,@cftprocname sysname
                ,@articlename sysname
                ,@tablename sysname
    -- security check - should be dbo or sysadmin
    exec @retcode = sp_MSreplcheck_publish
    if @@error != 0 or @retcode != 0
        return 1
    if (object_id(N'dbo.sysarticleupdates') is null
            or object_id(N'dbo.syspublications') is null)
        return 1
    -- get the information needed for resultset
    select schema_name(objectproperty(a.sync_ins_proc, 'SchemaId'))
    from dbo.syspublications p
        join dbo.sysarticles as art on p.pubid = art.pubid
        join dbo.sysarticleupdates as a on art.artid = a.artid
    where art.artid = @artid
        and p.name = @publication
    -- all done
    return 0

Last revision 2008RTM
See also

  sp_MSdrop_repltran (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