Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2009
    Posts
    1

    Unanswered: DB2 equivalent for '@' in oracle

    In oracle it is possible to run a sql script with the '@' command. What is the equivalent command in DB2?

    Thanks
    smauel

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    db2 -tf script.sql
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Jan 2009
    Location
    Zoetermeer, Holland
    Posts
    746
    Not sure. In oracle you specify the"@" to point to tables on another server, right? In that case you need "federation" and "nicknames" in DB2. When you google for those you'll find out.

  4. #4
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    also to execute in pl/sql a script
    @catalog would execute catalog.sql
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

Posting Permissions

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