I have a online signup that saves data onto a hosted mssql database … Essentially what i’m trying to do is as have a daily routine run on the local server as simple as
Insert into Home.tableA Select * from Remote.tableA Where Date = Today
However, this will not work … what would be the best way to accomplish this either in T-SQL or C# …
Thanks for the Insight
option 1. You can setup table replication
option 2. You can get Home.TableA Max(Id) and insert rows from Remote.TableA where Remote.TableA.ID > Home.TableA Max(Id).
option 3. Setup another table to keep the MAX(Id) and datetime the job run.