Differences between ANSI SQL and Oracle 8/9

Hallo,
i'm looking for good online texts or books concerning the problem "Differences between ANSI SQL and different database implementations (ORACLE, Informix, MySQL...)" I want to check a program written in C (with ESQL) that works with an Informix-DB. In this code i want to find code that is specific to the Informix-DB. I want to change the database, so all the code should be independent from a DB. Does anybody know texts or books concerning this problem?
thx
Marco Seum

Basically there is syntax difference between both of them.
Lets say i want to join two table EMP and DEPT based on DEPTNO.
With Oracle SQL format its like this.
select e.*
  from emp e, dept d
where e.deptno = d.deptnoHere the joining condition goes in the WHERE clause.
With ANSI SQL format its like this.
select e.*
  from emp e
  join dept d
    on e.deptno = d.deptnoHere the join condition is mentioned separately and not in WHERE clause.
Oracle supports ANSI SQL starting from 9i version.
You can read more about the syntax difference Here

Similar Messages

  • What is Difference between ANSI SQL and ORACLE SQL

    Hi,
    I am going to take the assesment test for ANSI SQL Programming before that i want to know any difference between ANSI SQL and ORACLE SQL?
    I am studying for SQL but the test will be ANSI SQL please let me give an idea about the both.
    Thanks
    Merina Roslin

    Basically there is syntax difference between both of them.
    Lets say i want to join two table EMP and DEPT based on DEPTNO.
    With Oracle SQL format its like this.
    select e.*
      from emp e, dept d
    where e.deptno = d.deptnoHere the joining condition goes in the WHERE clause.
    With ANSI SQL format its like this.
    select e.*
      from emp e
      join dept d
        on e.deptno = d.deptnoHere the join condition is mentioned separately and not in WHERE clause.
    Oracle supports ANSI SQL starting from 9i version.
    You can read more about the syntax difference Here

  • What are major differences between SAP BI and Oracle BI?

    Hi Experts,
    I am new to Oracle BI. But I want to know about major differences between SAP BI and Oracle BI?.
    Please help me....
    Thanks & Regards,
    A. kavya kumari.

    There are at least five major differences :
    S P O r c l e
    but important to also be aware of the minor difference:
    A/a

  • Frequently transfering databases between MS SQL and Oracle

    Hello all,
    I am looking for a solution to easily, efficiently and be able to migrate/transfer databases between MS SQL and Oracle frequently.
    I need to be able to replicate a databases on Ms SQL and Oracle for testing purposes. I will need to do this on frequent basis - almost once a week.
    Please suggest what would be the best way.
    Thanks in advance.

    Hi Justin,
    You have guessed it right to a great extend. Yes dont actually need to develop, rather need to test an application that supports SQL and Oracle databases. Now when testing the application its obviously vital to create proper systematic test data. This usually takes a lot of time and effort from the testing team/team-member. So, yes what I need to do is create the test data on one database(may it be SQL or Oracle) and migrate/transfer the data into the database on another server( ie. SQL to Oracle or Oracle to SQL).
    So,
    Are you developing a product that works against both SQL Server and Oracle and trying to synchonize development efforts?Yes, thats correct to extend, I need to test an application against both the servers, as it supports both types of databases, and try to reduce the test setup efforts (literally double the amount) that go in after manual creating same data on each type of database.
    Are you trying to replicate structural changes between systems?I am not 100% sure, what you mean by this. But whats important and enough for me is to replicate the data. It would not be a lot of work to run the scripts and create empty schema objects.
    Are you trying to replicate data changes between systems? The fact that you're only doing this weekly suggests that you're not working in a traditional replication environment.Yes, again as I mentioned above. It would be sufficient for me to just get a copy of the initial dataset. And then replicating changes to it would not be that important. However, if I can achieve a solution to this, I can by all means create a new database on the one server (SQL or Oracle) and take the data-set of the most recent/correct changes and replicate it on the other type of server as and when needed.
    No - this is not a traditional replicating environment. I say weekly, because it is usually once in a week or forthnight that someone from the team will need to spent time to manually copy the test-data onto the another type of server in order to run the same testcases on two types of servers.
    How do you handle conflicts (i.e. if I modify a row in both systems, which modification wins)? This is not really a problem in my scenario, as I only need to be able to transfer the data across to the different server and forget about the two databases actually being in-sync.
    I have also, looked at DTS for a possible solution on SQL, however it seems highly un-realistic, having to map somewhere like 250 tables from the a drop-down list, only because the two database servers use different cases to represent tables internals. So, table 'Table' in my application's SQL database is called 'TABLE' is my applications Oracle database. DTS is highly inefficient in dealing with this. Also, having 250 tables move makes this a bit of a pain.
    Thank you Justin for your response; I highly appreciate your inputs.
    Regards, Nisarg

  • What is the difference between Open-Script and Oracle functional testing

    Hi All,
    Please help me in spotting out the difference between the Openscript and Oracle Functional Testing for Web Application.
    Does Oracle Functional Testing for Web Application have any special features when compared with Open-Script.
    Please help me out.
    Thanks in Advance,
    Nishanth Soundararajan.

    Nishanth
    OFT is the old version of OpenScript, which will no longer be part of ATS as per the next major realize 9.20.
    I would recommend to to spend any time looking at it.
    Regards
    Alex

  • Differences between BEA's and Oracle's own drivers

    I am trying to understand the various ways and technical differences to
    connect to an Oracle database from WLS 6.1. As far as I can tell, here
    is the list of drivers:
    THIN:
    1. the bundled, old Oracle thin driver in weblogic.jar
    2. the latest Oracle thin driver to prepend to my classpath
    OCI:
    3. the bundled, old Oracle OCI driver in weblogic.jar
    (+ matching Oracle DLL in PATH)
    4. the latest Oracle OCI driver to prepend to my classpath
    (+ latest Oracle DLL in PATH)
    5. Weblogic's own OCI driver in weblogic.jar
    (+ WebLogic's own DLL in PATH)
    I understand that (1) and (3) are 'obsolete'. But what about the others?
    Especially, what are the advantages of (5) over (4) or (2) ?
    Can Joe^H^H^H anybody share some light on this? ;-)
    Thanks,
    Christophe

    Hi Christophe!
    Basically, weblogic bundles 817 thin driver from oracle in 6.1
    For using oracle oci driver, you have to add ocijdbc8.dll in your path.
    Weblogic has its own set of jDrivers(OCI Drivers)
    You need to install oracle client for that. You should use the same driver
    as your client install from weblogic. As per say, if you have 817 oracle
    client installed then you can use weblogic 817 driver. It is OCI driver,
    hence ultimately all calls are diverted to oracle DB thorugh their oracle
    oci API from weblogic driver.
    If you use lots of oracle extensions in your application it is recommended
    to use oracle thin driver.
    However, weblogic jDrivers perform better and more XA compliant then oracle
    thin driver.
    Thanks,
    Mitesh
    Christophe Warland wrote:
    I am trying to understand the various ways and technical differences to
    connect to an Oracle database from WLS 6.1. As far as I can tell, here
    is the list of drivers:
    THIN:
    1. the bundled, old Oracle thin driver in weblogic.jar
    2. the latest Oracle thin driver to prepend to my classpath
    OCI:
    3. the bundled, old Oracle OCI driver in weblogic.jar
    (+ matching Oracle DLL in PATH)
    4. the latest Oracle OCI driver to prepend to my classpath
    (+ latest Oracle DLL in PATH)
    5. Weblogic's own OCI driver in weblogic.jar
    (+ WebLogic's own DLL in PATH)
    I understand that (1) and (3) are 'obsolete'. But what about the others?
    Especially, what are the advantages of (5) over (4) or (2) ?
    Can Joe^H^H^H anybody share some light on this? ;-)
    Thanks,
    Christophe

  • Concept between MS SQL and Oracle

    hi, everyone, i am very new for Oracle. Reading some books and confuse about some base concepts:
    in MS SQL world, you can install multiple INSTANCE on a physical server, inside each INSTANCE, you can create multiple DATABASEs, each DATABASE has it owned data\transaction log file on disk.
    In the Oracle world, my understand is, INSTANCE = memory structure + physical database file (which pretty close to MS SQL identification). similar to MS SQL, you can have multiple INSTANCEs on each physical server. but which one is the 'DATABASE' in oracle world? The closest one i think is TABLESPACE. I can assign one or multiple physical data file for each TABLESPACE. but all the TABLESPACE place the redo log file inside the same undo TABLESPACE? also, for each application, i have to create one or more TABLESPACE inside a INSTANCE(that's what i usually do in MS SQL)?
    thank you for your help. please forgive me if my question is too silly.
    Edited by: user3614365 on Jun 14, 2012 2:57 PM

    please forgive me if my question is too silly.Firs of all, your questions are not silly at all. You can get better understanding of one product by setting analogies and comparisons with a product you are familiar with. I used same method when I learned about MS SQL comparing it with Oracle.
    So, welcome on Oracle board!
    in MS SQL world, you can install multiple INSTANCE on a physical server, you can have multiple instances of Oracle, belonging to same or separate Oracle Home on same physical machine.
    inside each INSTANCE, you can create multiple DATABASEs, In Oracle instance you can have only one database. That is how it is.
    each DATABASE has it owned data\transaction log file on disk.Even in MS SQL there can be multiple data files per database.
    >
    In the Oracle world, my understand is, INSTANCE = memory structure + physical database file (which pretty close to MS SQL identification). similar to MS SQL, you can have multiple INSTANCEs on each physical server.
    >
    yes
    >
    but which one is the 'DATABASE' in oracle world? The closest one i think is TABLESPACE. I can assign one or multiple physical data file for each TABLESPACE. but all the TABLESPACE place the redo log file inside the same undo TABLESPACE?
    >
    Here is little similarity between Oracle TABLESPACE and MS SQL database.
    In MS SQL Database has not only files associated with it, it has its own security and piece of data dictionary. It can have its own collation, you can detach it from one instance and attach to another, you can back it up separately, etc...
    I would say MS DB is more "standalone and self-containig" unit, comparing to Oracle TS.
    Oracle TS is a way of organizing data files and setting some default common storage properties for tables and other segments contained in TS.
    Oracle TS do not have separate security and data dictionary. Normally TS cannot be detached from one instance and attached to another. Though, there are special type of TS - transportable tablespace, which can be viewed as being a little bit close to what MS DB is.
    Anyway Oracle TS is not even close thing to MS DB.
    And it does not need to be. It has a totally different purpose.
    also, for each application, i have to create one or more TABLESPACE inside a INSTANCE(that's what i usually do in MS SQL)?You do not have to. But you better to do this way, from a data organization perspective. To make things look nicely organized.
    Sometimes one application may use multiple TS, for example when it needs different block size for some tables.
    You also can share TS between multiple apps, as you can do it with MS DB.
    What else is different?
    In Oracle there are no separation between logins and db users. It is one entity - USER. It has its security settings and may have its database objects.
    In Oracle can be only one schema per user, named same as user. Basically it is same thing - user and schema is same thing, and created and managed by same command CREATE/ALTER USER.
    However when we talk about storage and a place where objects belong to we say SCHEMA.
    When we talk about security and an owner where objects belong to - we say USER. :)
    Schema is like users Home in OS. What user creates belongs to its "home" - the schema. And the user is owner of it.
    If one user creates something in other's schema that thing will belong to that other's schema, and that another user will be owner, not to the user that called CREATE statement.
    However one user can change its current schema for the current session, just to avoid implicitly specifying another schema as a prefix for objects of that another schema.
    CONNECT scott
    SELECT * FROM joe.emp;
    ALTER SESSION SET CURRENT_SCHEMA = joe;
    SELECT * FROM emp;
    In MS SQL schemas are more similar to directories, there can be objects of different users in same schema, and objects of same user in different schemas.
    In Oracle there is DB Link which is similar to Linked Server.
    When called, DB Link is specified after the object name, separated by @.
    SELECT * FROM emp@anotherDB;
    That was most significant differences.
    Oh yes, Oracle is a versioning engine, and MS SQL is locking engine, though it can be any starting from recent.

  • Differences between Hyperion consolidation and Oracle Financials Consolidat

    I'm looking for a document- recommendations etc. explaining why using Hyperion Consolidations versus Oracle Financials Consolidation ?
    Thanks
    Marcel

    Genie,
    I agree that a case is made on how well these two ERPs solve the day to day tasks before a company chooses one of these two. But my question is aimed at finance to begin with. You are going to need a general ledger for any company or government regardless of ERP. And how well you can drive the ledger to map your business is the key here.
    The way ledger is built is around a business area ,company or country and is very tighly designed in SAP. I would like to know if there is any equivalent of the configuration items in ORACLE. I am more interested in terminology of ORACLE.
    For example ,
    <u><b><u><b>SAP ====> ORACLE</b></u>
    <u><b>GL ==> Book In ORACLE</b></u>
    <b><u>Document Number ===> Invoice Number</u></b>
    <b><u>Posting Period in SAP ==> Posting period In ORACLE</b></u></u></b>
    Most of the terms are finance terms , so they are common ( eg. an account number is an account number in ORACLE and SAP ) between two systems. I am interested in any specific thing that is available in ORACLE but not in SAP and  vice verse.
    thanks for the link you have provided.
    Its very useful.

  • What are the main differences between 9 iAS and Oracle 8.1.7 ?

    My question is focus on JServ/JVM/EJB Deployment.
    1. They both provide Appach JServ to support JSP/Servlet application
    2. They both provide JVM 8i to support EJB 1.1.
    3. You can deploy JSP/Servlet application to JVM via mod_ose.
    4. On the White paper about 9 iAS, it says you can deploy applications into JDK JVM or Oracle 8i JVM, does that also apply to EJB? If so, how can you do it (with JDev 3.2 not some other command line tool?), it that one of the different between two products?
    5. Since 8.1.7, application server and database server were built into a package, why on 9i to separate them into two (or three) parts again? - what is the benefit for customers?
    Thanks
    Chang
    null

    My question is focus on JServ/JVM/EJB Deployment.
    1. They both provide Appach JServ to support JSP/Servlet application
    2. They both provide JVM 8i to support EJB 1.1.
    3. You can deploy JSP/Servlet application to JVM via mod_ose.
    Aside from the above, I think 9i IAS also contain other products such as Form server, Portal software, Icache and many extras.
    4. On the White paper about 9 iAS, it says you can deploy applications into JDK JVM or Oracle 8i JVM, does that also apply to EJB? If so, how can you do it (with JDev 3.2 not some other command line tool?), it that one of the different between two products?
    With JDev 3.2, one can program and deploy applications to 9i IAS.
    5. Since 8.1.7, application server and database server were built into a package, why on 9i to separate them into two (or three) parts again? - what is the benefit for customers?
    Thanks
    Chang
    null

  • Difference between BI beans and Oracle Discoverer

    My understanding is that
    BI beans and Discoverer are used for displaying data in tables, crosstab reports and graphs, Discoverer is meant for end users and BI beans is meant for use within a Java application.
    Please let me know if my understanding is correct.

    Hi
    You are quite right.
    If put in simple language Disc. Reports are just the outcomes of the Repotiing Tool and BIBeans is just a
    component that can be used through Jdeveloper that
    allows us to create various reports on the OLAP database objects.
    Happy Working.

  • About SQL and Oracle

    Hello, I was using a MySQL database and i will soon use Oracle8. I was wandering if Oracle authorize something like mysql_result... I'm looking too for simple documentation about connecting to an Oracle database from a php file using Sql. Do u know books or sites ? Tks

    user12317666 wrote:
    Does Oracle support T-SQL ? Why would Oracle support a proprietary macro-based language implementation from a competitor?
    If it is not supported in Oracle, what is the major grammer difference between T-SQL and Oracle supported SQL ? Oracle has two languages. SQL. PL/SQL.
    PL/SQL is formal declarative procedural language with object orientation programming features. It is based on the Ada language (close relative of the Pascal language).
    SQL is fully integrated with PL/SQL. Which means that you can write and mix SQL source code with PL/SQL source code and the PL/SQL compiler will figure out which is which and where to make calls to the SQL engine for executing SQL code.
    Is there any efficient way for programmer to complete T-SQL transition to Oracle SQL ? Yes. Unfortunately not the answer that you are likely hoping for.
    Forget EVERYTHING you did with T-SQL.
    There is no real comparison between the two. And not only many differences, but some fundamental and conceptual differences too.

  • Dblink creation between sql and oracle server

    Hi dears,
    I need to create dblink between the sql and oracle server.
    (For me the requirement is sql datas need to import in oracle database).
    My questions is,
    Without installting gateway is't possibale to get the sql data in the oracle server.
    my database version is 11.2.0.3 64bit
    Kindly let me know, Waiting for your suggestsion.
    Regards
    Athish

    About the Linked Server mechanism have a look at the MS Knowledge base article:
    Article ID: 280106 - HOW TO: Set Up and Troubleshoot a Linked Server to Oracle in SQL Server
    or
    How to run a SQL Server 2005 Integration Services package as a SQL Server Agent job step Article ID : 912911
    Regarding DG4ODBC and DG4MSQL, please have a look at our Support portal and look for the gateway master note:
    Master Note for Oracle Gateway Products          [Document 1083703.1]     
    It contains generic information how to connect to the foreign database
    Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    as well as the functional differences between the Database Gateway for ODBC (Generic Connectivity) and MS SQL Server
    Document 252364.1 Functional Differences Between Generic Connectivity and Database Gateways
    Document 232482.1 Gateway and Generic Connectivity Licensing Considerations
    as well as where to find the latest release and how to install and configure them.

  • SQL and Oracle in synchronization

    I have to synchronize for about 2 months one Oracle 9.i database and one SQL server 2000, Standard edition database, both running on Win 2K Server. Every change made on either of the databases (the best is there are only 4-5 tables reflected) has to be provided on the other side almost in real time. I choused to use SQL server as a way to do it. For Oracle I have only the ODBC connectivity (supplied for free) and I did have a lot of problems in ORA 8.1.6... Needless to say, there's no money for third party products or even new ORA transfer utility, as the 2-month are not sufficient time.
    I did set up linked servers between SQL server and Oracle and trying to make some triggers working for me, but is this the best way to do it? May be somebody has better experience...
    Any ideas will be greatly appreciated.
    Thanks,
    MJ

    Do you really like to implement a two way replication between M$ SQL and Oracle?
    Maybe you can try this using the heterogenous gateway and Oracle Advanced replication. Don't know if this could work our test environment would be ready but actually there's no time to try.
    Will keep you informed if I know more.
    In this way you don't need any third party sw and I think it could work, but never have tried it out.
    Could be an interesing challenge ;-)
    Michel

  • Guide to differences between SQL Server Transact SQL and Oracle PL/SQL

    Does anyone know of a good book (or online guide) that has an in-depth comparison of the differences between SQL Server Transact SQL and Oracle PL/SQL? (Something more than a beginner's guide)

    Hello,
    Below links will surely be helpful
    Discontinued features in SQL 2012
    Depricated features in SQL Server 2012
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • WHAT IS DIFFERENCE BETWEEN DEVELOPER 2000 AND SQL DEVELOPER?

    Hello Everyone.I am new to oracle and want to know the difference between developer 2000 and sql developer in oracle.Pls?

    Developer 2000 is an application for making webforms that will be served on an Application Server, and accessed by the end users through an applet in their webbrowser.
    SQL Developer is a tool for administrating and manipulating data and structure of your database. Like a GUI version of SQL*Plus, not advisable for end users.
    Regards,
    K.

Maybe you are looking for

  • HOWTO: Use BC4J With or Without DB Triggers

    This HowTo describes how to use BC4J, database sequences and triggers and what are the ramifications. INTRODUCTION BC4J has the ability to work with database sequences in order to obtain a unique value when inserting records. BC4J also has the abilit

  • Search Anomalies Using Oracle Text

    Hi, I get inconsistent results returned between the Basic and Advanced Searches. For example if I do a Basic Search on 'bats' then I get 51 hits returned. If I do a similar search for 'bats' using Advanced Search (Contains All/Any across a single Con

  • CCMS qRFC Monitoring: Missing Transactional and Queued RFC Monitoring Nodes

    Hi , We are trying to create a Queued RFC monitoring for VERTEX Queued , but we are missing CCMS Monitor Templates,in monitor Communications -->Transactional RFC and Queued RFC in Dev  and PROD  ,but its present in QA System . I have checked all syst

  • How to execute ipconfig/flushdns????

    hi, I m able to execute all DOS comand & able to read out put in my java program. this i m using in JSP. try {      // get runtime environment and execute child process      Runtime systemShell = Runtime.getRuntime();      Process output = systemShel

  • Change Base unit of measurment while creating BOM-CS01

    Dear Experts, Base UoM in material master is in Metric Tonne "MT",While Creating the BOM of the Material My Base qunatity is also in MT by default but I want to change Base Uom to in KiloLiter "KL".But system is not allowing to change. In system ther