Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSenumschemachange

  No additional text.


Syntax

create procedure sys.sp_MSenumschemachange(
    @pubid              uniqueidentifier,
    @schemaversion      int,
    @compatlevel        int = 7000000, -- default=SPHINX
    @AlterTableOnly     bit = 0,
    @invalidateupload_schemachanges_for_ssce bit = 0,
    @filter_skipped_schemachanges bit = 0
    )
as
begin
    set nocount on
    declare @retcode int

    select @retcode = 0

    if ({ fn ISPALUSER(@pubid) } <> 1)
    begin
        RAISERROR (14126, 11, -1)
        return (1)
    end

    -- Delegate call to the appropriate sp that
    -- handles the given compatibility-level

    if @compatlevel >= 10000000
    begin
        exec @retcode = sys.sp_MSenumschemachange_100 @pubid = @pubid,
                                                     @AlterTableOnly = @AlterTableOnly,
                                                     @schemaversion = @schemaversion,
                                                     @invalidateupload_schemachanges_for_ssce = @invalidateupload_schemachanges_for_ssce,
                                                     @filter_skipped_schemachanges = @filter_skipped_schemachanges

    end
    else if @compatlevel >= 9000000
    begin
        exec @retcode = sys.sp_MSenumschemachange_90 @pubid = @pubid,
                                                     @AlterTableOnly = @AlterTableOnly,
                                                     @schemaversion = @schemaversion,
                                                     @invalidateupload_schemachanges_for_ssce = @invalidateupload_schemachanges_for_ssce,
                                                     @filter_skipped_schemachanges = @filter_skipped_schemachanges

    end
    else if @compatlevel >= 8000500 -- this value stands for 80sp3
    begin
        exec @retcode = sp_MSenumschemachange_80sp3 @pubid = @pubid,
                                                                                            @AlterTableOnly = @AlterTableOnly,
                                                    @schemaversion = @schemaversion

    end
    else if @compatlevel > 7000200 --this value standing for 70SP2
    begin
        exec @retcode = sys.sp_MSenumschemachange_80 @pubid = @pubid,
                                                     @AlterTableOnly = @AlterTableOnly,
                                                     @schemaversion = @schemaversion
    end
    else
    begin
        exec @retcode = sys.sp_MSenumschemachange_70 @pubid = @pubid,
                                                     @AlterTableOnly = @AlterTableOnly,
                                                     @schemaversion = @schemaversion,
                                                     @compatlevel=@compatlevel
    end

    return @retcode
end

 
Last revision 2008RTM
See also

  sp_MSdrop_rlrecon (Procedure)
sp_MSenumschemachange_100 (Procedure)
sp_MSenumschemachange_70 (Procedure)
sp_MSenumschemachange_80 (Procedure)
sp_MSenumschemachange_80sp3 (Procedure)
sp_MSenumschemachange_90 (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