Connecting to a remote database server
Hi,
I have a problem where from within a store procedure getting executed in a DBase server, say, DB1, I want to connect to another remote database server say DB2 to get something retrieved so that the retrieved info could be used inside the stored procedure on DB1.
How can I do..Any help will be appreciated..
Off course, user id and pwd and IP and SID would be passed as parameters to the stored procedure.
Regards,
Pratap,India
|