Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.

create procedure sys.sp_MScreate_sysmergeschemaarticles_table
    -- The extended merge articles table is for storing schema only article information.
    -- The current supported schema only articles are stored procs and views.

    create table dbo.sysmergeschemaarticles
    (   name                    sysname             NOT NULL,
        type                    tinyint             NULL,
        objid                   int                 NOT NULL,
        artid                   uniqueidentifier    NOT NULL,
        description             nvarchar(255)       NULL,
        pre_creation_command    tinyint             NULL,
        pubid                   uniqueidentifier    NOT NULL,
        status                  tinyint             NULL,
        creation_script         nvarchar(255)       NULL,
        schema_option           binary(8)           NULL,
        destination_object      sysname             NOT NULL,
        destination_owner       sysname             NULL,
        processing_order        int                    NOT NULL default 0
        -- Note: Please update sysmergeextendedarticlesview whenever
        -- there is a schema change in sysmergeschemaarticles
    if @@error<>0 return 1

    create unique clustered index uc1sysmergeschemaarticles
        on sysmergeschemaarticles(artid, pubid)
    if @@error <> 0 return 1

    exec dbo.sp_MS_marksystemobject sysmergeschemaarticles
    if @@error <> 0 return 1

    return 0

Last revision 2008RTM
See also

  sp_MScreatelightweightmetatables (Procedure)
sp_MScreate_mergesystables (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