sp_generatefilters (Transact-SQL)
SQL Server 2008
Creates filters on foreign key tables when a specified table is replicated. This stored procedure is executed at the Publisher on the publication database.
Creates filters on foreign key tables when a specified table is replicated. This stored procedure is executed at the Publisher on the publication database.

