Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_getqueuedarticlesynctraninfo

  No additional text.


Syntax
create procedure sys.sp_getqueuedarticlesynctraninfo
(
    @publication sysname    -- publication - cannot be null
    ,@artid int                     -- article id - cannot be null
)
as
begin
    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'))
            ,object_name(a.sync_ins_proc)
            ,object_name(a.sync_upd_proc)
            ,object_name(a.sync_del_proc)
            ,object_name(a.ins_conflict_proc)
            ,art.name
            ,object_name(art.objid)
    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
end

 
Last revision 2008RTM
See also

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