Results 1 to 4 of 4

Thread: Restore

  1. #1
    Join Date
    Jan 2012
    Posts
    4

    Unanswered: Restore

    While i am trying to restore .mdb file in using IBM DB2 V9.5 I am getting following error.....
    SQL0104N An unexpected token "MeteoStation" was found fol
    Expected tokens may include: "DATABASE". SQLSTATE=42601

    Used command is " db2 restore MeteoStation from d:\database".

    Please tell me the the right query.

    Thanks in advance.

  2. #2
    Join Date
    Feb 2008
    Location
    Japan
    Posts
    3,483
    Please see the syntax of RESTORE command.
    Code:
    >>-RESTORE--+-DATABASE-+--source-database-alias----------------->
                '-DB-------'                          
    
    >--+-| restore-options |-+-------------------------------------><
       +-CONTINUE------------+   
       '-ABORT---------------'
    Details are here
    RESTORE DATABASE - IBM DB2 9.7 for Linux, UNIX, and Windows

  3. #3
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    and I have the idea that dbname is limited to 8 in length
    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

  4. #4
    Join Date
    Jan 2010
    Posts
    335
    .mdb is the extension for an Microsoft Access Database!
    DB2 Backups do not end with ".mdb"..., they end with .001, .002, ...

Posting Permissions

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