Im Using DBName.dbo.TableName to connect to other database, but my database architect put passwords to all other database so my account to database cannot connect to other.. I know the password and username of the account which has access to the database that i want to access.. I just can't find the sql code to connect to other database with password..
1 Replies - 697 Views - Last Post: 12 September 2012 - 12:37 AM
#1
In a procedure, can i query from other database with password?
Posted 10 September 2012 - 06:19 PM
Replies To: In a procedure, can i query from other database with password?
#2
Re: In a procedure, can i query from other database with password?
Posted 12 September 2012 - 12:37 AM
if your server is above server 2005
then you can use one of the following
openRowset
opendatasource
linkedserver
then you can use one of the following
openRowset
opendatasource
linkedserver
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|