Jump to content
xisto Community
Sign in to follow this  
iGuest

SQL Select/Join to Linked DB2 tables Questions on SQL Join

Recommended Posts

SQL Select/Join to Linked DB2 tablesQuestions on SQL Join

Is it possible to do a select/join on a SQL server table & DB2-Linked table? When I try this I receive Msg 4104, Level 16, State 1

Example:

select   t_detail.[field1],  t_detail.[field2],  db2linkname.Db2schema.Db2table.[field1],  db2linkname.Db2schema.Db2table.[field2]FROM t_Detail INNER JOIN db2linkname.Db2schema.Db2table  ON (t_Detail.[field1] = db2linkname.Db2schema.Db2table.[field1]) ;

-question by RMungerKeywords:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.