Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2011
    Posts
    1

    Question Unanswered: Access 2 different databases from one SQL script

    Hi,

    I wander if i can write INSERT statment, which selects data from table that exists in database1 into table that exists in database2? If yes - what syntax should i use?

    It is so simple in TSQL... but does not work in DB2

    Thanks in advance!

    Eka

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    Go to DB2 manuals and search on Federation.
    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
  •