Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSgetrowmetadatalightweight

  No additional text.


Syntax
create procedure sys.sp_MSgetrowmetadatalightweight
	(@tablenick			int,
	 @rowguid			uniqueidentifier,
	 @type  			tinyint output,
	 @rowvector 		varbinary(11) output,
	 @changedcolumns	varbinary(128) output,
	 @columns_enumeration tinyint output,
	 @pubid 			uniqueidentifier= null)

as
    declare @retcode	smallint
    declare @action		tinyint
    declare @procname	sysname
    declare @postfix	nchar(32)
	
	-- security check
    exec @retcode = sys.sp_MSreplcheck_subscribe
    if @retcode <> 0 or @@error <> 0 return 1

    if (@tablenick is null)
    begin
        raiserror(14043, 16, -1, '@tablenick', 'sp_MSgetrowmetadatalightweight')
        return (1)
    end

    if (@rowguid is null)
    begin
        raiserror(14043, 16, -1, '@rowguid', 'sp_MSgetrowmetadatalightweight')
        return (1)
    end

	select @postfix= procname_postfix
		from dbo.sysmergearticles
		where pubid = @pubid and nickname = @tablenick
	
	set @procname= quotename('MSmerge_lws_sp_multi_' + @postfix)

	-- Get the metadata type (and possibly rowvector, changedcolumns) of the row.
    exec @retcode= @procname
    					@action= 3,
    					@rowguid= @rowguid,
    					@type= @type output,
    					@rowvector= @rowvector output,
    					@changedcolumns= @changedcolumns output,
    					@columns_enumeration= @columns_enumeration output

    if @@error <>0 or @retcode <> 0 return (1)

    return (0)

 
Last revision 2008RTM
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