I can't make it works. I'm in the Query analyzer and I want to do a SELECT statement on two tables FROM two different Databases on the same SQL server.
I found something like
SELECT TA.field1, TB.field1, TA.field2 FROM
DB1.dbo.T1 as TA INNER JOIN DB2.dbo.T2 as TB ON
TA.field1=TB.field1
But I can't make it works. Where do I run that query, on Master? How do I syntax it?
It's surely an easy one but I'm blocked, so thank you for your help.
I found something like
SELECT TA.field1, TB.field1, TA.field2 FROM
DB1.dbo.T1 as TA INNER JOIN DB2.dbo.T2 as TB ON
TA.field1=TB.field1
But I can't make it works. Where do I run that query, on Master? How do I syntax it?
It's surely an easy one but I'm blocked, so thank you for your help.