[SLE] Open Office Database Wizard Question

From: Greg Wallace (jgregw_at_acsalaska.net)
Date: 10/01/05

  • Next message: James Ogley: "Re: [SLE] Blackened GTK menus?!"
    To: <suse-linux-e@suse.com>
    Date: Fri, 30 Sep 2005 20:49:58 -0800
    
    

    I'm trying to run an OpenOffice database query against an Oracle database on
    the same machine via an ODBC connection. I can see tables and build queries
    in Open Office DB just fine, but when I try to run them, I get the following
    (always the same, so this is a sample from one I ran) --

    SQL STATUS: HY000
    Error Code: 1000
    Syntax error in SQL Expression
    Syntax error, unexpected INVALIDSYMBOL, expecting FROM or SQL_TOKEN_INTO,
    Invalid symbol: ."A"

    The sql it put together in the Query Wizard looks like this --

    SELECT "TEST_TABLE1"."A" FROM "OPS$GREGW"."TEST_TABLE1" "TEST_TABLE1"

    Why it wants to put the "'s around everything I don't know, but I copied
    this exact sql statement into the Oracle built in interactive tool
    (sqlplus), ran it, and it worked fine. It's actually a perfectly valid
    query (select table TEST_TABLE1 column A from
    schema.table=OPS$GREGW.TEST_TABLE1" assigning an alias to the table of
    TEST_TABLE1). Anybody have any clues on what could be going wrong here and
    why OpenOffice can build but not run this query?

    Thanks,
    Greg Wallace

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: James Ogley: "Re: [SLE] Blackened GTK menus?!"

    Relevant Pages

    • Re: Oracle SQL vs. Access SQL
      ... > back end Oracle database. ... > and I'm hoping performance will improve using a pass through query as ... > translate complex Access SQL into Oracle SQL. ...
      (microsoft.public.access.queries)
    • Pass Through Query using Local Access Table
      ... I'm hoping to create a pass through query to retrieve records from a large ... Oracle database. ... I've written the SQL, ... or it isn't possible to join a local access table to ...
      (microsoft.public.access.queries)
    • SQL Help Please
      ... I have created a pass through query to get some data from a Oracle Database. ... The SQL in that query appears below. ... I am stuck on ...
      (microsoft.public.access.reports)
    • Re: Oracle JDBC Driver ps.setTimestamp() slows down query execution many times
      ... I perform simple sql query to Oracle database, ... provide them as strings (as you do in your hardcoded SQL example)? ...
      (comp.lang.java.databases)
    • Re: DBMS and lisp, etc.
      ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
      (comp.lang.lisp)