+ Reply to Thread
Results 1 to 3 of 3

Any alternative to Microsoft Query?

  1. #1
    Registered User
    Join Date
    06-13-2005
    Posts
    3

    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

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996
    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

  3. #3
    Registered User
    Join Date
    06-13-2005
    Posts
    3
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1