Join tables from different databases, servers in SQL and C# -


i have 1 table called "eemailsentdata" belongs database "a" , table "eeventguest" belongs database "b", want make query joining these tables, possible?

if both database on same sql server pretty simple. prefix table names database name , name of schema. if not on same sql instance have create connected server object , prefix table objects name. thats it

create linked server:

http://msdn.microsoft.com/en-us//library/ff772782.aspx


Comments

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -