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 > DB2 ODBC error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-08, 05:07
mohammedredha mohammedredha is offline
Registered User
 
Join Date: Feb 2008
Posts: 4
DB2 ODBC error

Hello,

I installed DB2 v8.1 with fp12 and registered for ODBC to connect to DB2 VSE database. when I connect to database alias (VSE) using DB2 CLP its ok and i can select data from tables. But when I use the same alias to get data using MS Access or MS Excel an error occured.

SQL020N4 "SQLTABLES ." is an undefined name SQLSTATE=42704

note:A snapshot of error msg is attached.


thanks
Attached Images
File Type: bmp DB2 ODBC error.bmp (394.9 KB, 48 views)
Reply With Quote
  #2 (permalink)  
Old 02-18-08, 08:05
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
yes, this is correct. since udb V8 and odbc you have to install the support for odbc/cli schema. createing stored procedure server - loading packages - define procedures... sqltables is the stored procedure name
have a look at system/db admin guide.... and download latest support for your language. the packages are charname dependent
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 02-19-08, 04:12
mohammedredha mohammedredha is offline
Registered User
 
Join Date: Feb 2008
Posts: 4
thanks you for replying, where can I get the manuals and steps of enabling ODBC to work with MS Access.

regards,
Reply With Quote
  #4 (permalink)  
Old 02-20-08, 04:27
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
see this link
http://www-306.ibm.com/software/data...directory.html
the system admin contains all info
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
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