I have following databases:
-
testtable1 fields: id, password, name, lastname -
test2table2 fields: id
How to select test and test2 where table1 have id in test2.table2.id?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have you tried it? You just write the database name
test2.dbo.tblFoo, though you may need to declare an alias (just write a word after writing the actual name). And the account will obviously need permissions to both DBs.