Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Location
    Ottawa, Canada
    Posts
    58

    Unanswered: Accessing another database from SELECT

    Is there a way to access another database from a select.

    example.

    select DB1.name, DB2.name from
    MyTable DB1, MyDatabase.MyTable2 DB2
    where ...

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    You can use DB2 Federated Database Support to do that. Check the reference manuals for more information on Federated support..
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •