Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8092863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:22:39+00:00 2026-06-05T20:22:39+00:00

I have a main SQL Server A that data is inserted into. The table

  • 0

I have a main SQL Server A that data is inserted into. The table of interest on A looks like this:

Name|Entry Time|Exit Time|Comments

From this main table, I want to construct a table on another server B that contains the same data from A but with some additional filters using a WHERE clause i.e. WHERE Name IN ('John', 'Adam', 'Jack').

I am not sure what this is called and if this is even supported by SQL Server natively (or I should setup a script to achieve this). Replication means replicating entire data but can someone tell me what is it that I am looking for and how to achieve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:22:40+00:00Added an answer on June 5, 2026 at 8:22 pm

    Transactional replication does support filters on articles, but I’ll be honest – I’ve never set it up with articles with filters. This article may help as well as this topic in Books Online.

    If it’s only one table and/or you are uncomfortable diving into replication, you may want to populate the remote table with a trigger (this will obviously be easier if the data is only written to the table on insert and never updated). But you’ll need to have logic set up to deal with situations where the remote server is down.

    A third solution might be viable if you do not need server B to be continuously up to date – you can manually move data over every n minutes using a job – either using an outer join / merge or completely swapping out the set of data that matches the filter (I’ve used shadow schemas for this scenario to minimize the impact this has on readers of server B – see this dba.stackexchange answer for more details).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SQL Server database with 500,000 records in table main . There
I have a SQL Server that houses Several Databases. I have a Main Database
I have a table in SQL Server 2000 that I am trying to query
We have a SQL Server table containing Company Name, Address, and Contact name (among
Good Afternoon All, I have two tables in my SQL Server 2005 DB, Main
I have main table called 'Employee' and another slave table called 'EmployeeTypes' that has
I have Persons table in SQL Server 2008 . My goal is to find
I am working on sql server monitoring product and i have database query that
I have come a across a few different methods for inserting data into SQL
I have been asked to develop a system that collects data from a Sql

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.