Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_vupgrade_syscol_status

  No additional text.


Syntax
create procedure sys.sp_vupgrade_syscol_status
as
begin
    set nocount on

    declare @artid int
                ,@src_objid int
                ,@this_col int
                ,@isset int

    -- raiserror('sp_vupgrade_syscol_status', 0,1) with nowait

    -- cursor through table based articles
    declare #hCArt cursor local FAST_FORWARD for
        select artid, objid from sysarticles where type & 1 = 1
    open #hCArt
    fetch #hCArt into @artid, @src_objid
    while (@@fetch_status <> -1)
    begin
        -- publish the replicated columns for each article
        exec sys.sp_MSarticlecol @artid = @artid, @colid = NULL, @type = 'publish', @operation = 'add'
        --now set pk bits for base column of PK or computed PK columns so SE always log the off-rows
        exec sys.sp_MSSetLogForRepl @tabid = @src_objid
        -- fetch next article
        fetch #hCArt into @artid, @src_objid
    end
    close #hCArt
    deallocate #hCArt
end

 
Last revision 2008RTM
See also

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