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 > from ODBC connect to db2 (with excel)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-13-04, 04:42
Paren Paren is offline
Registered User
 
Join Date: Jan 2004
Posts: 31
from ODBC connect to db2 (with excel)

from ODBC(with excel) connect to db2


i m using db2 7.1 version ,fix pack 8.1 and db2 connect 8.1 version

i created odbc bridge and i installed other programs

after what must i do?
Reply With Quote
  #2 (permalink)  
Old 01-13-04, 04:56
pushp pushp is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 30
After ODBC setup has been completed.

Open the Excel Sheet Go to data tab and click on the get external data
New database Query.

Select the ODBC which you had configured and pass the Query to it

I believe this will do

Cheers,
Pushp
Reply With Quote
  #3 (permalink)  
Old 01-13-04, 05:37
Paren Paren is offline
Registered User
 
Join Date: Jan 2004
Posts: 31
hi cheers, thanks and

i did odbc connections and this message showing

" SQL0440 No authorized routine named "SQLTABLES" of type '"'
having compatible arguments was found.
SQLSTATE=42884"

problem maybe , on db2 security?
Reply With Quote
  #4 (permalink)  
Old 01-13-04, 05:49
Paren Paren is offline
Registered User
 
Join Date: Jan 2004
Posts: 31
ODBC

Hi cheer ,

i can connect from oracle to db2 normally but

with ODBC driver i cant , it doesnt
i think where am i doing mistake?
Reply With Quote
  #5 (permalink)  
Old 01-13-04, 11:36
anil4321 anil4321 is offline
Registered User
 
Join Date: Feb 2003
Posts: 20
Re: ODBC

Perform the following steps and try again:

db2 connect to DBNAME
db2 catalog system odbc data source DBNAME
db2 terminate

Then try to access the database from Excel.

If you can access a table from DB2 Command Window, then there is no security issue. You should be able to access the same table from Excel.
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