I am planning to schedule a job on one my database and which basically runs at 5:00 PM everyday.
Database 1 : TestOne TableName: MyTable
Database 2 : TestTwo TableName: MyTable
My schedule job resides in TestOne and Inserts into MyTable and the values has
to come from TestTwo.MyTable.
Is there any example that’s available that does something similar? Is this as simple as getting an user from TestOne.MyTable access rights on TestTwo.MyTable?
I appreciate your inputs.
Some simple scenarios (assuming – i can do the truncate):
OR
using the merge (more like the incremental, but needs an unique key):