Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSverifytranfilter

  No additional text.


Syntax
create procedure sys.sp_MSverifytranfilter @objid int
as
DECLARE @artname sysname
DECLARE @sync_objid int
DECLARE @qual_sync_object nvarchar(1024)

DECLARE #testcursor CURSOR LOCAL FAST_FORWARD for
    SELECT name, sync_objid from sysarticles
    WHERE  objid = @objid

open #testcursor
fetch #testcursor into @artname, @sync_objid
while @@fetch_status <> -1
begin
    select @qual_sync_object = quotename( schema_name(objectproperty(@sync_objid,'SchemaId'))) collate database_default + N'.' + quotename(object_name(@sync_objid)) collate database_default

    exec ( N'declare @var int select @var = count(*) from '+ @qual_sync_object + N' where 0 = 1' )

    if @@ERROR<> 0
    BEGIN
        raiserror( 14090, 16, -1, @artname )
        return 1
    END
    fetch #testcursor into @artname, @sync_objid
end
close #testcursor
deallocate #testcursor
return 0

 
Last revision 2008RTM
See also

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