Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
madeqx
 
Posts: n/a
Default Any alternative to Microsoft Query?


I am trying to access an Oracle database through Excel. However,
Microsoft Query (which Excel uses) crashes before I can do anything
(Error:"String data, right truncated").

Creating a connection through MS Access works completly fine. Creating
a connection (i.e. no query, just connection) in Excel works fine as
well but is useless as I cannot perform any SQL queries on the
database. All in all, everything except Microsoft Query manages to
access the database. The question is then: are there any other ways
(i.e. not through Microsoft Query) of running SQL queries on the
database?


Thanks


--
madeqx
------------------------------------------------------------------------
madeqx's Profile: http://www.excelforum.com/member.php...o&userid=24247
View this thread: http://www.excelforum.com/showthread...hreadid=378961

  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default


I suspect that Oracle is trying to return more characters to at least
one of your MS Query fields than the field can handle. For example, if
Oracle returns 1000 characters and your MS Query field can only handle
256, you would get that error.

Check the field sizes for the Oracle data. If that situations exists,
you might want to try changing your SQL to something like:

SELECT LEFT(oracleField1,256) as MyField . . .

Does that help?

Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=378961

  #3   Report Post  
madeqx
 
Posts: n/a
Default


The problem is that I haven't made any queries yet, it simply crashes as
Microsoft Query tries to establish the connection (in the background it
says: "connecting to datasource...").

Could this be a problem related to the Oracle ODBC driver?

The funny thing is that it works on 1 computer on the network, and only
that one. This just happend all of the sudden, previously it didn't work
on any.

Thanks


--
madeqx
------------------------------------------------------------------------
madeqx's Profile: http://www.excelforum.com/member.php...o&userid=24247
View this thread: http://www.excelforum.com/showthread...hreadid=378961

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Query Excel GuRu Excel Discussion (Misc queries) 1 March 23rd 05 06:15 PM
Microsoft Query R Ormerod Excel Discussion (Misc queries) 0 January 26th 05 07:29 PM
Microsoft Query Excel GuRu Excel Discussion (Misc queries) 4 January 19th 05 07:07 PM
Can I download Microsoft Query? Missing software for my Version. Tracie Excel Discussion (Misc queries) 1 January 9th 05 04:11 PM
Microsoft Query Help Patti Excel Worksheet Functions 4 December 25th 04 09:54 AM


All times are GMT +1. The time now is 04:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"