If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-17-12, 06:17
abhishekpanchal abhishekpanchal is offline
Registered User
 
Join Date: Jan 2012
Posts: 4
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.
Reply With Quote
  #2 (permalink)  
Old 01-17-12, 06:40
tonkuma tonkuma is online now
Registered User
 
Join Date: Feb 2008
Location: Japan
Posts: 2,193
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
Reply With Quote
  #3 (permalink)  
Old 01-17-12, 08:02
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
and I have the idea that dbname is limited to 8 in length
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #4 (permalink)  
Old 01-17-12, 09:07
nvk@vhv nvk@vhv is offline
Registered User
 
Join Date: Jan 2010
Posts: 294
.mdb is the extension for an Microsoft Access Database!
DB2 Backups do not end with ".mdb"..., they end with .001, .002, ...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On