Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSgetfilteringcolumns

  No additional text.


Syntax

-- Requires Certificate signature for catalog access
create procedure sys.sp_MSgetfilteringcolumns @pubid uniqueidentifier, @nickname int
as
	declare @objid int
	
	select @objid = objid from dbo.sysmergearticles where pubid = @pubid and nickname = @nickname
	
	select sc.name from sys.columns as sc where sc.object_id = @objid
		and exists (select * from dbo.sysmergearticles as sma
					where sma.pubid = @pubid
					and sma.nickname = @nickname
					and sys.fn_MSisfilteredcolumn(sma.subset_filterclause, sc.name, @objid) = 1)
					
	
	UNION
	
	select sc.name from sys.columns as sc where sc.object_id = @objid
		and exists (select * from dbo.sysmergesubsetfilters as smsf
					where smsf.pubid = @pubid
					and smsf.art_nickname = @nickname
					and (smsf.filter_type & 1) = 1
					and sys.fn_MSisfilteredcolumn(smsf.join_filterclause, sc.name, @objid) = 1 )
	
	UNION
	
	select sc.name from sys.columns as sc where sc.object_id = @objid
		and exists (select * from dbo.sysmergesubsetfilters as smsf
					where smsf.pubid = @pubid
					and smsf.join_nickname = @nickname
					and (smsf.filter_type & 1) = 1
					and sys.fn_MSisfilteredcolumn(smsf.join_filterclause, sc.name, @objid) = 1)
	
	return 0

 
Last revision 2008RTM
See also

  sp_MSdrop_rladmin (Procedure)
sp_MSenumcolumns (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