Differences between Oracle OLEDB Provider & Microsoft version

I am trying to connect to an Oracle database from a SQL Server SSIS package. When I use the Microsoft OLEDB Provider for Oracle (MSDAORA) the connection manager in the package sees a full list of the tables in the Oracle database but when I use Oracle's own OLEDB provider (Oracle.OLEDB.1) I see a much smaller list. I cannot see anything different about the tables that Oracle's Oracle provider fails to see. Has anyone come across this phenomenon before ? Are there some table name characters or data types that the Oracle provider objects to ?

Not very likely.
One possible explanation is they query different levels of the datadictionary.
Sometimes the ALL_ level is queried, sometimes the DBA_ level, sometimes the USER_ level.
At least you need to ascertain whether you are using the same Oracle account in both drivers. This can also make a difference.
Anyhow: usually the Oracle driver implements way more functionality compared to the Microsoft driver, so the Oracle driver is to be preferred anyway.
And probably the Oracle drivers results are correct (one really should use the ALL_ level instead of the DBA_ level).
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • What is difference between Oracle version  and DB version.

    What is the difference between Oracle version and DB Version?
    How we came to know about the installed version through SQL query.

    SQL> select * from v$version;
    BANNER
    Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    PL/SQL Release 8.1.7.0.0 - Production
    CORE 8.1.7.0.0 Production
    TNS for Linux: Version 8.1.7.0.0 - Development
    NLSRTL Version 3.4.1.0.0 - Production
    SQL>
    Joel P�rez

  • Oracle OleDB Provider VS MS OleDB Provider

    I am using Stored Procedures in Oracle Packages and Microsoft ADO for data access.
    My Stored Procedure use a Ref Cursor output parameter to make data available to ADO's recordsets.
    A big difference in network traffic is found between "Microsoft OLEDB Provider for Oracle" and "Oracle OLEDB Provider" (the native driver provided by Oracle).
    The main issue :
    <<Oracle OLEDB Provider>>
    1) A stored procedure is put into an empty package for testing and returning no row, the result is 4KB downstream traffic.
    2) When the SAME stored procedure is put into a large package (a package that already contained 30 other stored procedures, > 1000 lines codes), the result is 70KB downstream traffic for same call that return no row.
    <<Microsoft OLEDB Provider>>
    1) and 2) both use approximately 4KB downstream traffic.
    However, for a query that return large number of rows (~2000 rows), Oracle OLEDB Provider used 143KB but MS OLEDB Provider used 400KB downstream.
    The behaviours for upstream are similar.
    My application is required utilize limited bandwidth, the the strange behaviour of the Oracle OLEDB Provider make my development of "Packaged" Stored Procedures a big problem.
    Does anyone know if there are any tricky on the Oracle OLEDB Provider? Please advice, thanks in advance.
    Regards,
    Jeff

    Sounds like the bug 2597418 that was fixed and released in 9.2.0.2 of Oracle OLEDB Provider

  • Difference between Oracle Testing Center and Prometric?

    what is the Difference between Oracle Testing Center and Prometric?

    Notes for an Oracle Testing Center are here:
    [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=51&p_org_id=1001&lang=US#4]
    The cancellation policies are possibly harder than a Standard Testing Center Vendor.
    I would suggest that Oracle Testing Centers possilbly offer exams more on an event or batch basis; (Oracle Openworld is an example; though thats not what one would think of as an Oracle Test Center).
    In general I suspect most people will find it just as easy to take the exam through a prometric(or new testing vendor) center. and there will often typically be more slots available. And the testing center will be typically be examing for other testing suppliers, perhaps mosting microsoft and cisco, but there's a mryiad of others out there as well. So the'll probably be well set up for it.
    Here in the UK (south) we have a fairly (very) dense population. I've used 4 centers myself:
    One 5 miles from me, a college, thats dual Pearson VUE/Prometric; though there only offering Pearson VUE at present until they moved to a bigger suite, with 4 stations. Nice and friendly. 5 days week.
    One 25 miles from me, a training center, that offer dual Pearson VUE/Prometric; 4/8 stations; very friendly, cup of coffe offered; I usually go by Puff Puff to this one.
    One 10 miles from me, maybe a 12 workstation suite, they offer usually prometric (but not oracle) on one a week. Felt Conveyor like compared to other two above; but very friendly and efficient.
    One 35 miles from me, Prometric only including oracle only, maybe a 12 workstation suite, CRT's, and not necessarily of the best quality. This one really felt conveyor like to me, though staff were friendly. This is effectively a drive for me. Also whereas the others I've usd sit one down to sign the forms in a room this one was done at building reception.
    The city center ones can sometimes be a little noisy and earplugs are recommended, though the one city center one I've used has provided them others don't have to.
    In general from once I used a particular center I feel more comfortable; I'll know exactly where it is; where I have have a quick cup of coffee (with sugar) beforehand going over notes. This all helps me to be a little less anxious before the exam. When I get that prepartion wrong, and I certainly did once, if probably cost me maybe 2/3/4 %.
    Getting to know your local test center and routine is one reason why I encourage people to take 1z0-007 and 1z0-051 proctored so they know the procedure and get to know a local Promteric etc Test Center before taking a more advanced and expensive exam.
    Rgds -bigdelboy.
    PS: I expect comments from some people who live 100 (+) miles from a test center and have no alternative choice. And those in some places will probably say they feel they are treated like cattle by the test center.

  • Append hint + ADO + Oracle OleDB Provider

    Hi everybody!
    This is my first post here in this great forum! ;-)
    I have a problem using Append hint with Oracle OleDB Provider and I've been searching internet for an answer without any luck.
    I'm trying to use Append hint with ADO + Oracle OleDB Provider (OraOLEDB.Oracle.1), like in the SQL below:
    INSERT /*+APPEND*/
    INTO my_table(field1, field2, field3)
    SELECT 0 field1, v.field2, v.field3)
    FROM my_second_table v
    The problem: Oracle is still creting log for this INSERT (It is working like there was no Append hint).
    If I use the same SQL statement with Microsoft Ole DB Provider for Oracle, the Append hint works as expected (log is not created), but doesn't work at all with Oracle DB Provider.
    Trace shows me that the SQL sentence is ok (the append hint is there!).
    I've tried Oracle servers 9.2 and/or 10g, and the problem is the same.
    Question: Does Append hint work with Oracle OleDB Provider? If yes, why it is not working? Something related with connection properties?
    Any help will be much appreciated!
    Thanks in advance.
    Alexandre Machado

    user8010279 wrote:
    Hi Solomon, thanks for you answer.
    Is the same SQL against the same database, with the same program, using ADO + OleDB Provider.
    The table is in NOLOGGING mode.
    When I use Microsoft OleDB Provider for Oracle there is no log creation. Then I disconnect and reconnect to the same server/database, using Oracle OleDB Provider. Then I execute the same SQL and.... there IS log creation, meaning that in that scenario, append hint is being ignored. I can't figure out WHY!!! :-(
    Alexandre,
    I'm not sure what you mean by "there is log creation". In general you need to distinguish between UNDO and REDO generation. A direct-path insert (APPEND hint) doesn't generate undo but still can generate redo, depending on the ARCHIVELOG / FORCE LOGGING mode of the tablespace resp. database and the LOGGING/NOLOGGING attribute of the table.
    Note that in case indexes exist on the table there will always be undo and therefore redo generation for the index maintenance as part of the direct-path insert.
    You should check V$SESSION (SQL_ID in 10g, SQL_ADDRESS + SQL_HASH_VALUE in pre-10g) and V$SQL in the database to double check if the SQL passed by the Oracle OLEDB Provider actually contains the APPEND hint in case the INSERT actually generates UNDO (which is the indicator that shows you if the direct-path insert is used or not). Whether it generates REDO is - as already mentioned - depending on other factors.
    So the question is how have you determined if the direct-path insert mode has been used or not?
    The simplest approach to test if direct-path insert mode is used or not is to issue a query on the object inserted into after the insert before committing the transaction. If it fails with "ORA-12838: cannot read/modify an object after modifying it in parallel" then you successfully inserted using direct-path insert.
    Note that there a number of restrictions that prevent the direct-path insert from happening, in those cases the APPEND hint will be silently ignored, e.g. enabled triggers, foreign keys on the table. A quite comprehensive list of restrictions is listed in the manuals here:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28313/usingpe.htm#CACEJACE
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Differences between Oracle Forms 11.1.1.6  and 11.1.2

    Hello !
    Which version should I choose 11.1.2 or 11.1.1.6
    11.1.2 must me the latest one aka 11gR2
    11.1.1.6 must be 11gR1 PS5
    Am i right ?
    but in the forms home page it seems that the 11.1.1.6 is the latest version ??
    Oracle Forms 11.1.1.6 Released
    The latest version of Oracle Forms (11.1.1.6) has been released.
    This can be downloaded from My Oracle Support (MOS)
    23-Feb-2012
    Oracle Forms 11g Release 2 has been released. Read about the new features.
    Oct-2011
    I suppose that in a MiddleWare stack : SOA suite + BI publisher + Forms, the 11.1.1.6 (11gR1 PS5) is the best choice.
    Can somebody explain me the differences between Oracle Forms 11.1.1.6 and 11.1.2 ?
    Thanks
    Regards
    Jean-Yves

    Michael Ferrante (Oracle) wrote:
    There are many new features in 11.1.2.0 that do not exist in 11.1.1. Some of the most significant new features are listed in the 11gR2 New Features documentation found on this page:
    http://www.oracle.com/technetwork/developer-tools/forms
    Additional information about new features and changes can be found in the product documentation for 11gR2, which is here:
    http://docs.oracle.com/cd/E24269_01/index.htm
    One important thing to note is that FMw 11.1.2 (11gR2) does not include Portal or Discover. So if you need either or both of these you will need to stick with 11.1.1.Hi Michael,
    One of the features which is very very important in my point of view is
    Reduced Installation Footprint
    In order to reduce the resource requirements on development machines, you can perform an
    installation specifically tailored for development. This will limit the number of software products
    and servers installed on the machine whilst still allowing a developer to build, run and test their
    Forms application.
    If this feature is only available for the 11.1.2 release then the choice is made !
    Thanks !
    Jean-Yves
    ps : and we don't use any portal or discoverer :-)
    Edited by: JeanYves Bernier on 30 nov. 2012 23:54

  • Differences between Oracle Real Application Cluster 11gR1 and 11gR2

    Hi Experts,
    Please provide me differences between Oracle RAC 11gR1 and 11gR2.
    Thanks in Advance,
    Jeeshan.

    Hi,
    You can also refer below Oracle notes :
    11gR2 Clusterware and Grid Home - What You Need to Know (Doc ID 1053147.1)
    Important Changes to Oracle Database Patch Sets Starting With 11.2.0.2 (Doc ID 1189783.1)
    Regards,
    Neha

  • Differences between Oracle Discoverer  10g and 11g .

    we would like to know if they are any differences between Oracle Discoverer 10g and 11g and any issues with 10g that are overcome in 11g.
    Please make us aware of any merits in going for 11g over 10g.
    apps version 11.5.10.2
    Regards

    Please see these links for the list of new features, bug fixes, certification, and installation of Discoverer 11g on 11i instance.
    Discoverer 11.1.1.4 Certified with E-Business Suite
    http://blogs.oracle.com/stevenChan/2011/02/discoverer_11114_ebs.html
    EBS Sysadmin Primer: Oracle BI Discoverer 11gR1
    http://blogs.oracle.com/stevenChan/2010/08/discoverer_11gr1_primer.html
    Oracle Business Intelligence Discoverer 11g
    http://www.oracle.com/technetwork/developer-tools/discoverer/overview/index.html
    Oracle Business Intelligence Discoverer 11g documentation
    http://www.oracle.com/technetwork/developer-tools/discoverer/documentation/index.html
    Thanks,
    Hussein

  • Difference between Oracle 8i and 9i

    Hi,
    Can anyone suggest me what's the difference ( in sql and pl/sql) between Oracle 8i and 9i versions ???
    What's the main feature of PL/SQL in Oracle 10g ???
    Regards

    Hi,
    In SQL 9i there are lot of new syntaxes included.
    with 9i
    1) Scaler subqueries were included(in order by clause and SELECt clause
    2) TimeStamp data type(WITH/WITNOUT TIMEZONE) introduced and along with other relevant date conversion functions introduced
    3) WITH clause introduced for storing the subqueries temporarily in the session
    3) MERGE statement is one more new DML introduced in 9i
    4) Few functions introduced in 9i such as NVL2,COALACE,CASE, DECODe etc.
    5) Few more join types introduced, with some new keywords like USING, ON etc. also new Join Syntax introduced compatible with ANSI SQL 1999 standards
    also FULL OUTER JOIN made easier without using UNION clauses.
    6) iSQL Plus introduced that is a GUI version of CUI SQL PLUS
    7) For the grouping mechanism, GROUPING and GROUPING SETS are 2 new functiosn introduced.
    8) Multitable INSERT statements for different purposes other than normal OLTP work.
    9) Enhancements in PLSQL, EXECUTE IMMEDIATE
    10) Few more Oracle Supplied Packages made available.
    11) ALTER TABLE syntax for changin LONG column to LOB introduced.
    I have tried to put here whatever i cud remember with the help of my notebooks and docs.
    Thanks
    Regards
    Abhivyakti

  • Difference Between Oracle 9i and 10G (Urjent)

    Hi..
    Iam intensively searching net for some whitepapers regarding the difference between Oracle 9i and 10g. I need to give demo to the client on this. So Plzzzz help me in this regard and send me the links if u know....
    thnx in advance
    Sriram

    Hello,
    Go to this link. It is compete and most well defined new features of 10g.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    http://www.oracle.com/technology/documentation/index.html
    In second link you will find all the versions of database.

  • Difference between Oracle developer suite 9i and 6i

    Hi -
    Can I know what's the release difference between oracle developer suite 9i and 6i , and what's new in oracle discoverer 9i in compare with last version , we have discoverer version of 4.1...
    I could not able to get from metalink anything like new features in 9i deve;oper suite.
    Existing oracle financial application 11.5.8 have their forms and reports in 6i version.
    What impact will have if changed with new version of application 11.5.10 in future .

    Oracle Developer Suite 9i is now called Oracle 9iDS. Oracle also sells Oracle 9iAS. You need to license iAS in order to run application created using iDS.
    9i is fully J2EE compliant. It offers improved integration between components. Its much more feature rich than 6i. See:
    http://www.oracle.com/ip/develop/ids/
    for more information.
    what's new in oracle discoverer 9i in compare with last versionThis question is best asked in Discoverer Forum.
    What impact will have if changed with new version of application 11.5.10 in future Reports offers backward compatibility between 6i and 9i reports with a few exceptions. See Oracle Reports Obsolescence plan on OTN:
    http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/movingto9i.pdf
    Regards
    Sripathy

  • Oracle OLEDB PRovider with ASP

    hi,
    Can anyone provide me a piece of code which demonstrates how to call an Oracle sp from asp using the Oracle OLEDB provider.
    I would also appreciate if the Oracle package code could be provided too, since with the Provider we have to have a different code for the stored procedure (Ref cursor..??)
    I have been successfully connecting using the Microsoft ODBC Driver, but looks like it has some big time bugs in it which causes our server to hang and a dllhost.exe to consume large amounts of database memory.
    Anybody can help me with that?
    Many Thanks,
    Harshad.

    Harshad,
    Oracle OLEDB samples are available at
    http://otn.oracle.com/sample_code/tech/windows/ole_db/content.html
    URL.
    "Returning multiple recordsets from a stored procedure" sample demonstrates
    how REF cursors are returned from a Stored Procedure (contained in a DB package).
    This sample is a stand alone application and not an ASP program, but the same code
    can be helpful for ASP too.
    Regards
    Jagriti

  • Oracle.Oledb provider returning improper out-put

    Dear All,
    Need your help in below issue.
    I have SSIS package which pull data from Oracle to SQL Server.
    Currently I have used Oracle.Oledb provider for the same, but it is giving me improper result.
    I check on oracle end count for that table was 26000 and when I run the same query through SSIS it shows 0 rows.
    The preview of the query is showing 0 as output.
    but when I tried the same using Microsoft OLEDB provider for Oracle it giving me proper out-put

    Hi Sushant,
    UseSessionFormat - specifies whether to use the default NLS session formats or let OraOLEDB override some of these formats for the duration of the session. Valid values are 0 (FALSE) and 1 (TRUE). The default is FALSE which lets OraOLEDB override some of
    the default NLS session formats. If the value is TRUE, OraOLEDB uses the default NLS session formats.
    Setting UseSessionFormat=true in the connection string will result in the provider using the session format specified by the client install, which should resolve this issue. The following connection string for the connection like below:
    Data Source=DataSourceNameHere;User ID=UserIDHere;Password=PasswordHere;Provider=OraOLEDB.Oracle.1;Persist Security Info=True;UseSessionFormat=True;
    Reference:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/01/20/every-bug-is-a-microsoft-bug-until-proven-otherwise.aspx
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Oracle OLEDB Provider

    Good Afternoon:
    I am having trouble running sql thru VB with the
    Oracle OLEDB provider. The sql runs fine with the
    MSDAORA provider. My error is 'missing right parenthesis'.
    Here is the sql:
    SELECT b.DIVISION_ID KEY, b.PLAN_TYPE PLAN, 900000 FS_CODE,
    SUM (CASE WHEN NOT (d.PHARMACY_NETWORK_CODE IN ('9003','9004','9012') and b.CORPORATION_ID NOT IN ('U120','U180'))
    then a.NET_CHECK_DUE_AMT/c.COMPLETION_FACTOR else 0 end) IN_PAY,
    TRUNC (a.SERVICE_DATE,'YEAR') INCURRED_YEAR, SYSDATE
    From PHARMACY_FACT a, PLAN b, COMPLETION_FACTOR c, PHARMACY_CLAIM_GROUPING d
    Where a.PLAN_KEY = b.PLAN_KEY
    AND a.PHARMACY_CLAIM_GROUPING_KEY = d.PHARMACY_CLAIM_GROUPING_KEY
    AND c.FINANCIAL_SERVICE_SUBGROUP = 900000
    AND c.MONTH_INTERVAL = MONTHS_BETWEEN(TRUNC(TO_DATE('09/30/2003','MM/DD/YYYY'),'month'), TRUNC(a.SERVICE_DATE,'MONTH'))
    AND a.SERVICE_DATE BETWEEN TO_DATE('01/01/2000','MM/DD/YYYY') AND TO_DATE('07/31/2003','MM/DD/YYYY')
    AND a.PAYMENT_DATE BETWEEN TO_DATE('01/01/2000','MM/DD/YYYY') AND TO_DATE('09/20/2003','MM/DD/YYYY')
    AND b.PLAN_NBR NOT IN('R1','V1','V2') AND b.CORPORATION_ID IN('F275', 'P475')
    GROUP BY b.DIVISION_ID, b.PLAN_TYPE, TRUNC(SERVICE_DATE,'YEAR')
    When I comment out the case statement, sql runs.
    I tried putting parens around other parts of the
    statement but to no avail.
    Any help would be greatly appreciated.
    Thanks,
    Mike

    Sounds like the bug 2597418 that was fixed and released in 9.2.0.2 of Oracle OLEDB Provider

  • Oracle connect failed on x64 and IA64 platform via Oracle OLEDB provider

    Hi everyone,
    I installed SQL Sever on x64 and IA64 machine, and Create a database via Oracle datasource. I can connect the datasource via OLEDB and .Net provider successfully on x86 machine. But failed to connect the Oracle datasource on x64 and IA64.
    Following is the error messgae:
    1) Install 64 bit build on x64 machine:
    Error message: Test connection failed because of an error in initializing provider. ORA-06413: Connection not open.
    2) Install 32 bit build on x64 machine:
    Error message: Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    I know there is a know bug on c:\Program Files (x86)\... with Oracle provider. And some one has given a workarround method that I should move my my application out of the the folder path which includes parentheses. But it really is mess method for SQL Server (That is my application)......
    Is there any other workarround method? Or when will Oracle fix this bug?
    Thanks^_^
    Lindsay

    Is 10204 available for x64 and IA64. It is said that there is only 10204 for x86 machine, right?
    I downloaded 10203 for IA64 machine and tested connection on SQL Server with Oracle datasource via Oracle OLEDB provider, and got the following error (The data source is Oracle92 installed on another machine):
    Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.
    Could you please tell me what's wrong with it?
    Thanks
    Lindsay
    Message was edited by:
    lindsaywang

Maybe you are looking for