I am trying to add a linked server. It is an Oracle server. I went to QA and executed this:
EXEC sp_addlinkedserver
@server = '[server name]',
@srvproduct = 'Oracle',
@provider = 'MSDAORA',
@datasrc = '[db name]'
I got the error "the server '[server name]' already exists".
Well, I know that we have an old connection to that server. I want to overwrite the existing connection.
Here are my questions.
1) How do I force it to overwrite the old entry?
2) How do I add the Oracle user ID and pw? It seems like they should be parameters.
EXEC sp_addlinkedserver
@server = '[server name]',
@srvproduct = 'Oracle',
@provider = 'MSDAORA',
@datasrc = '[db name]'
I got the error "the server '[server name]' already exists".
Well, I know that we have an old connection to that server. I want to overwrite the existing connection.
Here are my questions.
1) How do I force it to overwrite the old entry?
2) How do I add the Oracle user ID and pw? It seems like they should be parameters.