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

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -