Two SQL Servers
1) "Test"
Payroll DB
Transaction Table
pr_SubmitTransa ction in Payroll DB
*************** *************** **************
2) "Production "
Payroll DB
Transaction Table
Pr_SubmitTransa ction in Payroll DB
Accounts DB
Pr_VerifyAccoun ts (@AcctNumber)
*************** *************** **************
I want to use same pr_VeriftAccoun ts in both test and production
Pr_SubmitTransa ction stored procedure.
The pr_SubmitTransa ction in production works fine when I say
Exec Payroll.dbo.pr_ VerifyAccounts as it is on same server. (WORKS
FINE)
Exec [PRODUCTION].Payroll.dbo.pr _VerifyAccounts (DOES NOT WORK)
Should I use sp_addlinkedSer ver ?? to do this ?. Please provide me some
feedback.
I know I can acheive this by front end, but I was do it in one stored
procedure.
1) "Test"
Payroll DB
Transaction Table
pr_SubmitTransa ction in Payroll DB
*************** *************** **************
2) "Production "
Payroll DB
Transaction Table
Pr_SubmitTransa ction in Payroll DB
Accounts DB
Pr_VerifyAccoun ts (@AcctNumber)
*************** *************** **************
I want to use same pr_VeriftAccoun ts in both test and production
Pr_SubmitTransa ction stored procedure.
The pr_SubmitTransa ction in production works fine when I say
Exec Payroll.dbo.pr_ VerifyAccounts as it is on same server. (WORKS
FINE)
Exec [PRODUCTION].Payroll.dbo.pr _VerifyAccounts (DOES NOT WORK)
Should I use sp_addlinkedSer ver ?? to do this ?. Please provide me some
feedback.
I know I can acheive this by front end, but I was do it in one stored
procedure.
Comment