Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_scriptsubconflicttable

  No additional text.


Syntax
create procedure sys.sp_scriptsubconflicttable (
    @publication sysname
    ,@article sysname
	,@alter bit = 0 -- if 1 script alter, otherwise script create
    ,@usesqlclr bit = 0
    )
as
begin
    declare @retcode int

    
    -- Security Check.
    
    exec @retcode = sys.sp_MSreplcheck_publish
    if (@@error != 0 or @retcode != 0)
        return (1)

    
    -- Parameter Check: @publication.
    -- The @publication cannot be NULL and must conform to the rules
    -- for identifiers.
    
    if (@publication IS NULL)
    begin
        raiserror (14043, 16, 2, '@publication', 'sp_scriptsubconflicttable')
        return (1)
    end
    exec @retcode = sys.sp_validname @publication
    if (@retcode != 0)
        return (1)

    
    -- Parameter Check: @article.
    -- The @article cannot be NULL and must conform to the rules
    -- for identifiers.
    
    exec @retcode = sys.sp_MSreplcheck_name @article, '@article', 'sp_scriptsubconflicttable'
    if (@@error != 0 or @retcode != 0)
        return (1)

    if LOWER(@article) = 'all'
    begin
        raiserror (14032, 16, 2, '@article')
        return (1)
    end

    
    -- now call the SP to generate the script
    
    exec @retcode = sys.sp_MSmakeconflicttable @article = @article, @publication = @publication, @creation_mode = 1, @is_debug = 0, @alter = @alter, @usesqlclr = @usesqlclr
    return @retcode
end

 
Last revision 2008RTM
See also

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