MS Access is unable to parse Oracle SQL

I wish to execute an outer join query in Reports 3.0 using MS
Access at back end. Since MS Access has a different syntax of
outer query than Oracle Sql, it is unable to parse it.
What could be the alternative or probable solution to it.
null

Hi,
Unless, you are writing dynamic queries, you might want to
define your outerj SQL in MS Access and then issue a simple
SELECT in Reports against the outerj MS Access query (to MS
Access this query is just another pseudo table).
TP.
Bramanathan K (guest) wrote:
: Rajeev Grover (guest) wrote:
: : I wish to execute an outer join query in Reports 3.0 using
MS
: : Access at back end. Since MS Access has a different syntax
of
: : outer query than Oracle Sql, it is unable to parse it.
: : What could be the alternative or probable solution to it.
: Instead of outer join why don't you try with Union, I think
Union
: will go with both
null

Similar Messages

  • Can I use JDev eSDK to parse Oracle SQL?

    Is it possible to use oracle.javatools.db and oracle.javatools.db.sql to parse a sql?
    import oracle.javatools.db.*;
    import oracle.javatools.db.sql.*;
    import java.sql.Connection;
    import java.sql.DriverManager;
    public class TestParser
    public static void main(String[] args)
    Connection conn = null;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:sample", "sample", "sample");
    Database db = DatabaseFactory.findOrCreateDatabase("sample", conn);
    Schema schema = db.getDefaultSchema();
    SQLQuery sql = SQLQueryBuilderFactory.createQuery(db, schema, args[0]);
    catch (Exception e) {
    e.printStackTrace();
    } finally {
    try {
         if (conn != null)
         conn.close();
    catch (Exception se) {
    Now if run it with a select * from foo, the program will pass, but as soon as I list column names in the select list, like "select bar from foo", the program will fail with the following stack trace:
    Exception in thread "main" java.lang.StackOverflowError
    at java.lang.StringBuffer.<init>(StringBuffer.java:80)
    at oracle.jdbc.dbaccess.DBError.getMsgKey(DBError.java:1358)
    at oracle.jdbc.dbaccess.DBError.findMessage(DBError.java:786)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:176)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    at oracle.jdbc.driver.OracleConnection.getMetaData(OracleConnection.java:1593)
    at oracle.javatools.db.AbstractDatabase.getConnection(AbstractDatabase.java:171)
    at oracle.javatools.db.DatabaseFactory.createConnection(DatabaseFactory.java:149)
    at oracle.javatools.db.AbstractDatabase.reconnect(AbstractDatabase.java:197)
    at oracle.javatools.db.AbstractDatabase.getConnection(AbstractDatabase.java:175)
    ... Repeat the last three lines
    Can someone help me with this issue?
    Thanks,

    I think I understand the issue as any call to oracle.javatools.db.Database would close the java.sql.Connection it contains and thus causing later calls to try to reconnect and for whatever reason, reconnect always fails.
    My question is why is the Connection object closed in the first place?

  • Unable to donwload Oracle SQL Developer 2.1 Patch 1 - getting a 404

    Hi,
    I'm trying to download Oracle SQL Developer 2.1 Patch 1, but I'm getting a 404.
    Here is the page I'm downloading from:
    http://www.oracle.com/technology/software/products/sql/index.html
    Here is the link to the zip file:
    http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-2.1.1.64.45-no-jre.zip
    Could anyone point me to a working link?

    I have just been to the site and downloaded the software. This is is always available and certainly not been down for 40 days, we track the daily downloads. You maybe restricted by a firewall setting on your side which does not permit you to download the software. There are occasions when there are issues, but generally if you try again in an hour they're resolved. We will not put the software on a rapid share site and for anyone else to do so would be violating licensing restrictions and is as such not legal.
    Sue Harper
    Product Manager

  • Parse oracle sql file

    Good day.
    I need to develope little app for executing *.sql files.
    How can I parse sql file to retrieve oracle response for each statement while executing. (ex. sqlplus)??

    Good day.
    I need to develope little app for executing *.sql files.
    How can I parse sql file to retrieve oracle response for each statement while executing. (ex. sqlplus)??

  • Unable to start Oracle SQL Developer

    I downloaded 64 bit SQL Developer (.zip file). Per instructions, I unzipped and launched the sqldeveloper.exe. First time, I launched, I was asked to enter the full path for java.exe which I did. I downloaded jkd1.6.0_29. After providing the path to java.exe and click OK to launch, nothing shows up. No windows, no prompt. I did this few weeks ago, and it worked for me. Not sure what why it doesn't work now. I did reinstalled JDK and reextract the zip file....

    managed to get both 64 bit and 32 bit started.
    The 64 bit version now has the following error trying to create a database connection
    java.lang.NoClassDefFoundError: oracle/javatools/db/DBLog
         at oracle.jdeveloper.db.DatabaseConnectionStores.registerStoreProvider(DatabaseConnectionStores.java:388)
         at oracle.jdeveloper.db.DatabaseConnectionStores.<init>(DatabaseConnectionStores.java:74)
         at oracle.jdeveloper.db.DatabaseConnectionStores.getInstance(DatabaseConnectionStores.java:63)
         at oracle.jdeveloper.db.DatabaseActions.<init>(DatabaseActions.java:53)
         at oracle.jdeveloper.db.DatabaseActions.getConnectionEditorAction(DatabaseActions.java:79)
         at oracle.jdevimpl.db.DBConnWizard.invoke(DBConnWizard.java:38)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:372)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:420)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1089)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
         at java.awt.EventQueue.access$000(EventQueue.java:84)
         at java.awt.EventQueue$1.run(EventQueue.java:602)
         at java.awt.EventQueue$1.run(EventQueue.java:600)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.javatools.db.DBLog
         Dependent class: oracle.jdeveloper.db.DatabaseConnectionStores
         Loader: ide-global:11.1.1.0.0
         Code-Source: //ct-dc1.ct.ad.internal/home/jshang/Documents/Oracle/Utilities/sqldev64/sqldeveloper/jdev/extensions/oracle.jdeveloper.db.connection.jar
         Configuration: extension jar in \\ct-dc1.ct.ad.internal\home\jshang\Documents\Oracle\Utilities\sqldev64\sqldeveloper\jdev\extensions
    This load was initiated at ide-global:11.1.1.0.0 using the loadClass() method.
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2190)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1733)
         at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
         at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
         ... 23 more

  • Migrate From MS Access 2003 to Oracle using Oracle SQL Developer 3.0

    Hello All,
    I am trying to migrate Access DB .mdb using the Oracle SQL Dev 3.0 Data Migration Wizard, everything go very nice and smooth until the Capture Step, for sure am using the online mode, in the Capture Step the list of available databases is empty and a Msg Box saying that the DB list should have at leats one database selected, so I don't know what's that mean or how to fix this.
    in my .mdb file I have four tables and I can copy the data to Oracle using the Right click and copy to Oracle Function, but it really takes much time.
    Any help would be really appreciated and thanks in advance.
    yours,
    Hussein

    Just to clarify:
    You have created the migration repository and start the migration using Tools => Migration => Migrate
    - now you've selected the repositiry
    - specified a project
    - selected the source database
    => you've choosen the ONLINE Mode
    ==>> and now you don't see your MS Access database in the "Connection" List
    Is this correct?
    If the steps you're doing match the steps I've posted above, then please be aware for MS Access migrations you need to choose the OFFLINE method. The MS Access source database information is collected by the MS Access Exporter available from Tools => Migration => MS Access Exporter
    Once you've created the XML/OCP file you specify this newly created file during the OFFLINE migration mode.
    If your steps differ from mine, please post yours more detailed.
    Thx.

  • Oracle SQL Developer installation and Java

    I finished installing Oracle Client without problems. Opened up SQL Developer for the first time and he asks me for the full Java.exe pathname.
    That's fine, but when I input the java.exe I just get asked again, no errors. Repeat until infinity.
    I installed the newest Java SDK and tried both 32-bit and 64-bit versions (jdk 7u4). I even tried installing Oracle Client version 11.1.0 AND 11.2.0 to see if that make any difference, but it's all the same.
    I have uploaded a screenshot if that helps: http://i50.tinypic.com/mjtqte.jpg
    Any ideas?
    Regards,
    Gunnar Óskarsson

    Hi Gunnar.
    Documentation:
    http://docs.oracle.com/cd/E25259_01/doc.31/e26419/install.htm#sthref8
    Ideas:
    -Do not use java7
    -Use JDK not JRE
    -On widows there is a version of SQLDeveloper including java 6 jdk
    -Instant client is not required - but if you want to use it use at least 11.2.0.2
    -Updated SetJavaHome in sqldeveloper\sqldeveloper\bin\sqldeveloper.conf to point to the JDK
    -There is some confusion over 32bit and 64bit Operating System, java and SQLDeveloper, you can search the forum for details, eg: thread title: "Unable to start Oracle SQL Developer"
    -Turloch
    SQLDeveloper Forum

  • Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64

    Hi Everyone,
    I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
    An error was encountered performing the required operation  Got a minus one from read call .Vendor code 0
    However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
    My TNSNAMES .ora file is as follows:
    ORACLE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ORACLE)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    My Listener.ora file is as follows:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle)
    (ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
    (SID_NAME = Oracle)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    ADR_BASE_LISTENER = D:\app
    My Sqlnet.ora file is as follows:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
    ORA 12537 : TNS Connection closed
    Thanks for your patience and help in advance.
    ---Prashant

    Hello Irian and Sue,
    I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
    Used parameter files:
    D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
    *)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
    TNS-12537: TNS:connection closed
    Thanks for your response to my initial post.Do u have any other methods to resolve this?

  • Oracle sql developer and access db

    Hi All,
    I have connection to oracle and Access dbs’ on my oracle sql developer.
    When i try to create a database link from oracle db to access db i have to add Host Name.
    Connection details to access looks like this :
    @jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\ list.mdb;DriverID=22;READONLY=false}
    I tried different variants, but it doesn’t work.
    Is this possible to create database link to access db, and if yes, what i have to add for a host name and what is the syntaxes for cross table ?
    Thank you

    Good documentation here... http://www.orafaq.com/node/60
    TimS

  • How to use Oracle SQL Developer 4.0 to connect to Ms Access file with .accdb extension

    Hi all,
    I am using Oracle SQL Developer 4.0 and Ms Access 2013 under Windows 7 (64 bits)
    After browsing and selecting MS Access file with accdb extention, I got  an error message  :[Microsoft] " Data source name not found and no default driver specified".
    On Administravitve Tools=> ODBC Data Source Administrator=>Drivers I have                                                File                                date
    Name :                                                                               Version
    Microsoft Acess Driver (*.mdb, *accdb)                                 12.00.4518.1014                                        ACEODBC.DLL                    26/10/2006
    Would you please advise?
    Thank you very much in advance

    That MS Access driver is 64-bit, I think.  If SQL Developer, or JDK is 32-bit you need to use the 32-bit driver.   You can see if you have a 32-bit driver installed using  c:\windows\system32\odbcadm32.exe

  • MS Access Crosstab to Oracle SQL

    Gurus,
    I am trying to convert MS Access Query to Oracle SQL, What would be the Oracle query for this MS Access Crosstab Query?
    I am working on Oracle 10g so, I can't take advantage of oracle PIVOT function.
    Thank you
    Edited by: 951334 on Aug 10, 2012 6:52 AM
    Edited by: 951334 on Aug 13, 2012 5:51 AM

    if your crosstab columns are static you can use well-known technique like
    select tablespace_name,
    sum(case segment_type when 'TABLE' then bytes end) TABLES_BYTES,
    sum(case segment_type when 'INDEX' then bytes end) INDEXES_BYTES,
    sum(case segment_type when 'LOBSEGMENT' then bytes end) LOB_BYTES
    from dba_segments
    group by tablespace_name;
    for dynamic crosstab columns you require to build this query dynamically in application

  • Oracle SQL Developer 1.5.5 Unable to save file

    I edit content of a column in a table I get this when trying to save change:
    Unable to save TABLE ... ("Failed to save changes").
    This error disappear when I do the same task in Oracle SQL Developer 1.1.3.
    Please help me!

    when I run:
    UPDATE "OWNFTS"."BONGDATHAMSO"
    SET LTDKQURL = 'http://soccernet.espn.go.com/fixtures?league=ita.1&cc=4716'
    WHERE ROWID = 'AAASBeAAGAAAAEgAAH' AND ORA_ROWSCN = '4238785';
    commit;
    from SQL Worksheet, there's "Enter Substitution Variable" window inform me to enter something in a textbox beside "CC:" label.
    Clicking "OK" or "Cancel" on this window with or without filling textbox has the same result:
    +0 rows updated+
    commit succeeded.
    AND the command which was cutting ORA_ROWSCN predicate:
    UPDATE "OWNFTS"."BONGDATHAMSO"
    SET LTDKQURL = 'http://soccernet.espn.go.com/fixtures?league=ita.1&cc=4716'
    WHERE ROWID = 'AAASBeAAGAAAAEgAAH';
    commit;
    fired the same " window
    but:
    +1 rows updated+
    +commit succeeded.+
    AND after refresh Table, I couldn't see the new value.
    Edited by: user11193632 on Aug 5, 2009 7:30 PM

  • Cannot access class oracle.sql.BLOB;

    Hi,
    I am trying to save a .tif file into Oracle database. When I run the program in JDeveloper I get the following errors:
    Error(9,19): cannot access class oracle.sql.BLOB; file oracle\sql\BLOB.class not found
    Error(59,29): class BLOB not found in class mypackage1.ImageUpload
    package mypackage1;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.sql.*;
    import java.util.Properties;
    import oracle.sql.BLOB;
    Blob imgblob = rs.getBlob(1);
    OutputStream blobos = ((BLOB) imgblob).getBinaryOutputStream();
    ...................Any help is appreciated. Thanks

    What package do I need to include in my classpath for
    this. ThanksWhy don't you inspect your JAR files? Do you have WinZip? Open them with it and find the class.

  • Migration: Access 2003 to Oracle SQL

    Dear All
    I would like to perform a migration from Access 2003, to Oracle 10g. I am using SQL Developer for the task, and have reached the point of capturing the XML file that I exported from Access. I need to create a migration repository on the target database, and this is causing problems as I do not have all the necessary privileges.
    In the process, I have been advised that migrations from Access to Oracle are not easy to achieve, and in fact require careful planning before execution. My objective is not really to transfer the data stored within the database file. I only really want to convert Access logic into Oracle SQL code. I was wondering if anyone could advise on the typical odds of success in achieving this task.
    I migrated the same Access database to MS SQL Server some time ago and the process seemed to go smoothly. Would it be reasonable then to migrate from MS SQL to Oracle SQL if this is easier?
    Any feedback would be very much appreciated.
    Thank you.
    M

    Thanks for your response.
    I am not familiar with the intricacies of the process, I'm just following the instructions set out in the Oracle Migrating 3rd Party Databases white paper.
    In this document, a process is set out consisting of steps that export an Access database, and then capture it to an Oracle user area with appropriate privileges. The process is achieved through Oracle SQL Developer.
    I'd be very grateful if you could expand on your answer if there is a better way of translating Access queries into Oracle SQL. I am aware that an Access front-end is capable of connecting with an Oracle database to execute queries, however, there are considerable limitations in the use of Access that I would like to avoid - hence the migration.

  • Translating ms-access sql to oracle sql

    I would like to translate this ms-access sql to oracle sql.
    SELECT
    CStr(STUDENT_ID),
    FIRST_NAME,
    LAST_NAME,
    IIF(LEN(CLASS_CODE)=3,"Y","") AS "ELEMENTARY_SCHOOL",
    IIF(LEN(CLASS_CODE)=4,"Y","") AS "MIDDLE SCHOOL",
    FROM T_STUDENT
    Thanks in advance for your help.
    Sandra

    For an equivalent of IIF, look at CASE or DECODE. For LEN use LENGTH.
    A business rule that says elementary and middle schools can always be identifed by the length of their codes sounds rather unreliable, though.

Maybe you are looking for

  • Will ipod touch settings copy to a new iphone with cloud / same apple id?

    My daughter has an ipod touch 4th generation. I had set the restrictions on her touch, but have since forgotten the password. We are giving her an iphone 5c for the holidays and I'm wondering if she uses the same itunes/apple account for her phone as

  • Guide on how to modify Java code for Syclo

    Hi All, I have ZS4SAPSM-3.0.0.0 jar file in Installed Agentry server's Java folder. I want to modify some code in Java. I imported that file in Eclipse and modified it and tried to run it. It was calling some JCO client etc. Can someone guide me to k

  • Email Question - Adding multiple email addresses - beginner

    I have a form that once submitted will send an email to predetermined users. I am at a point now that I need to send it to multiple users. I can't figure out how I can add an additional user in the TO: field. I have tried concating : affectTO = lab.c

  • Support less than number of occurences

    Hi, I'm trying to create a shopping basket analysis on our sales. For the two articles starting with 529 and 521 there are 6 sales with them on the same order number as can be seen on the drillthrough. But I thought that the support column was meant

  • Logging off multiple login sessions of the same user

    Hi, When I login to solaris through a telnet session and type "who", I see that many of my previous terminal login sessions from the same ip address are still open. Although only one telnet login session is established curretly, I see multiple previo