Append hint + Oracle Ole DB 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

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

Similar Messages

  • Unable to download ORACLE OLE DB provider 8.1.7.3

    I can not connect to web18-115.us.oracle.com to download the oracle ole db provider for 8.1.7.3.
    Is this down?
    I need this ASAP.

    oh ... I forgot to say ..
    when I run query under Enterprise Manager as
    select * from Openquery (db, 'select * from table')
    then it will show me a pop-up message
    "Query Designer encountered a MS Design Tools error:
    ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]OLE DB provider 'OraOLEDB.Oracle' reported an error.
    [Microsoft][ODBC SQL server Driver][SQL Server][OLE/DB provider returned message: ORA-12545: Connect failed because target host or object does not exist]
    And I follow support.microsoft.com/support/complus/mtsandoracle.asp?SD=GN&LN=EN-US&gssnb=1,setting as follow
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI]
    "OracleXaLib"="oraclient8.dll"
    "OracleSqlLib"="orasql8.dll"
    "OracleOciLib"="oci.dll"

  • How deploy Oracle OLE DB Provider?

    What information is available to enable one to set up a simple deployment scenario for a Delphi 6.0 program that
    utilizes the Oracle OLE DB Provider? (What DLL files are needed, what [if any] registry settings must be made,
    what configuration files are needed, etc..) It is not viable to expect the end user to download the 45 MB file from
    the Oracle site in order to obtain the functionality of the Oracle OLE DB Provider.
    Thanks for your help!
    Dave Eland
    [email protected]

    Put the Oracle Installation CD on the network and then install the Client version of Oracle to everyone's pc.
    I know there are deployment wizards for VB and VC++ but this is the best i think as there are lots of dll's and it gets messy.
    They will also need the tnsnames.ora entry.
    Make sure you have the right licensing agreement with Oracle.

  • Download Oracle OLE DB Provider

    Hello!
    I cannot download Oracle OLE DB Provider
    http://www.oracle.com/technology/software/tech/windows/ole_db/htdocs/utilsoft.htm
    I get the message: "We're sorry, the page you requested was not found. "
    I have tried with serveral versions (but I want to have one for version 10)
    Do anyone know where else I can find this provider.
    Best regards,
    Tina

    http://edelivery.oracle.com
    Regards
    Asif Kabir

  • Oracle OLE DB Provider installation failed...

    I downloaded ODAC101040.exe (Oracle OLE DB Provider setup) from following link.
    http://www.oracle.com/technetwork/database/windows/utilsoft-088126.html
    My OS is Windows 7 Home Premium.
    But during installation, am getting error "Abnormal Program Termination" "Unknown Unknown".
    Please help, if there is a workaround please let me know.

    My OS is Windows 7 Home Premium.Be aware that normally no Oracle products are certified for any Windows Home editions.
    BTW, did you read installation instructions from your link ?

  • Oracle OLE DB provider truncates LONG field's data

    I am using Visual Basic 6, Oracle 8.1, and use ADO to connect to the Oracle database.
    I have a problem with OLE DB provider OraOLEDB.Oracle reading a LONG field (MEMO field in Access).
    When I tried to get the value of the LONG field, it truncates it to 100 characters.
    I do not have the problem using Microsoft Oracle OLE DB Provider MSDAORA.
    This is the Oracle table:
    CREATE TABLE tblA (
    tblA_KEY NUMBER(10) NOT NULL,
    tblA_MEMO LONG NULL
    This is the VB 6 code:
    Set rs = New ADODB.Recordset
    rs.Open ssql, adoConn, adOpenForwardOnly, adLockReadOnly
    sMemo = "" & rs.Fields("tblA_Memo") -->> sMemo contains only the first 100
    characters of tblA_Memo
    How can I fix this?
    Thank you.

    Thanks. I assume you are talking about 9.2 version of Oracle, right?
    While we are in the subject of LONG field. In Oracle 8.1, I can not do the following sql stt:
    select * from tblA where tblA_Memo like '%york%'
    It gives me the error "ORA-00932: inconsistent datatypes"
    Can I do this in Oracle 9.2 ?
    Thank you.

  • Oracle OLE DB Provider / Stored Procedure REF CURSOR errror

    Post Author: robfurrball
    CA Forum: Data Connectivity and SQL
    All,I'm out of ideas on this and would appreciate any suggestions.I'm trying to use Crystal XI to connect to an Oracle 9i database using the Oracle OLE DB Provider (required to use this provider by a 3rd party program that fires off the report).If I connect using the Microsoft OLE DB Provider for Oracle,  the report will return data.  When connecting with the Oracle OLE DB Provider, I get the following:Database Connector Error: 'ADO Error Code: 0x80040e14
    Source: OraOLEDB
    Description: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'SP_MOMGLOBCSHBAL_TEST'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Native Error: 6550 [Database Vendor Code: 6550 ]' -
    The procedure's only parameter is an IN OUT SYS_REFCURSOR, and the Oracle OLE DB Provider is version 9.2.0.7.0 Thanks,Rob

    Post Author: robfurrball
    CA Forum: Data Connectivity and SQL
    Summary: After going
    back and forth with Business Objects support they ruled that it was an issue
    with the provider itself, recommended I contact Oracle for resolution, and
    closed the case before I could comment back to them.  I was unable to send this response to their
    support team, so I'm posting it here in hopes that I can save others time/money
    in the future.
    My Response -
      I appreciate your input and would have liked to comment further on the case management system before you closed the case.  I'm a little surprised and disappointed that you recommend I contact Oracle directly about this issue.I would imagine that a company as large as Business Objects would have much better results dealing with Oracle to resolve an issue compared to an individual.Also, since you are able to connect to other objects (such as a table) in Crystal Reports using that provider, I would expect that you would want customers to be able to connect to stored procedures using it as well.  Otherwise, it would seem appropriate to either alert customers of this defect through documentation, public message boards, and forums.Using Crystal to pull data from stored procedures in other databases and data providers made me think that was a viable option for this project.  Since it was not documented as a limitation of Crystal and the provider, it has cost my organization a great deal of time and money trying to troubleshoot an issue I would have expected to be caught in Crystal Reports' internal quality assurance testing.------ This is the final note I received on my support case: -
    Please note that the statement used to execute a procedure within ODBC/OLE DB is different from the native 'Oracle Server' statement.In ODBC or OLE DB, the call is '{CALL "SCHEMANAME"."TEST_PROCEDURE"(3)}' , when using native 'Oracle Server' the call is 'BEGIN "SCHEMANAME"."TEST_PROCEDURE"(:TEST_CURSOR, 1); END ;'In ODBC or OLE DB, the cursor is still used however it is not listed within the SQL Statement as in the Native connection. This is the behavior from Crystal Reports 9 forward that the cursor is not shown through ODBC/OLE DB.In addition to that as the issue is only with the Oracle OLE DB provider and I would suggest you to contact Oracle about this issue, since the issue occurs outside of Crystal Reports when using QTADO with a standard call, so it is not an issue between Crystal Reports and Oracle.The issue is only with Oracle OLE DB provider as the same Oracle stored procedure call works within QTADO with the MS Oracle OLE DB provider.As the issue is with the OLE DB Provider and not with Crystal Reports, we may not be able to proceed further. Hence, I am closing this case from Case Management System.

  • Using Oracle OLE DB provider (with ADO) generates error: ORA-01843 while using date

    Were using OLE DB provider in order to connect to our Oracle 9i database. When executing the following query in a SQL Plus window I will get the correct results:
    SELECT gum_seu_syo_id, seu_userid, seu_first_name, seu_last_name
    From group_user_mapping, security_users
    Where gum_seu_syo_id = seu_syo_id
    and gum_term_date > '8/19/2002'
    and gum_seg_syo_id = 11
    However if will execute the same query from the our application (VB using ADO) I will get the following error:
    ORA-01843: Not a valid month
    Checking with our Oracle DBA we made sure my registry is correct and includes the correct format under HEKY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOME,
    where the key is NLS_DATE_FORMAT (of type REG_EXPAND_SZ) with the value:
    MM/DD/YYYY HH:MI:SS AM
    I also run the following query in a SQL Plus window:
    select sysdate from dual;
    and got the following result:
    08/19/2002 10:27:20 AM
    which shows that the data format is correct.
    Trying to switch between the month and day in the query (put '19/8/2002') worked from the application but generated ORA-01843: Not a valid month in the SQL Plus window.
    Any ideas?

    try using
    to_char function
    for eg.
    select * from emp where to_char(hiredate,'dd/mm/yy') > '20/3/83'.
    Jagriti

  • Developer 9i suite & Oracle OLE DB provider conflict on XP Professional

    On a Windows XP Professional I installed Oracle 9i Developer suite Release 2 (9.0.2.0.0.) and it works fine.
    After that I installed the Oracle Provider for OLE DB 9.2.1.0 on the same machine and then after installing the OLE DB provider I get an error with Oracle Reports that will not open and gives me an illegal memory address error. Also I get another error with Forms.
    Is there any conflict in installing on the same XP machine 9i Developer suite (9.0.2.0.0) and the Oracle Provider for OLE DB 9.2.1.0 ?

    Hi,
    Unfortunately this forum can only deal with questions relating to the OTN documentation pages at: htp://otn.oracle.com/documentation/index.html
    Please try the Downloads forum at: Downloads Issues or the Database Product forums at: http://forums.oracle.com/forums/index.jsp?cat=18
    Regards,
    Les

  • Oracle OLE DB Provider for 8.0.5

    Does anyone know where I can find Oracle's OLE DB Provider that is compatible with 8.0.5 ?
    We are converting the front-end of an application to ASP, and the Microsoft driver doesn't allow PL/SQL functions to be executed directly, which will cause a major headache as this is how most of the back-end is written!
    Any help much appreciated,
    G

    Key here is multiple Oracle homes. You can install different Oracle versions in different Oracle homes and use a particular Oracle home based on your application requirement. You should not install 8i client in a 8.0.x Oracle home. Please refer to Oracle documentation on multiple Oracle homes feature.

  • Calling a stored procedure using Oracle Ole Db provider

    I am looking for an example of syntax used to call a stored procedure from VB.Net using the Oracle OleDB provider. I have been using the Microsoft provider MSDAORA but need to move to the Oracle provider due to upgrade. The syntax used with the MSDAORA provider does not work with the Oracle provider.

    Hi,
    Please refer to the Populate DataSet with Multiple REF Cursors Sample available at the following URL:
    http://otn.oracle.com/sample_code/tech/windows/ole_db/oledb92/index.html
    Check the PopulateProducts method available in the ViewProducts.cs file that call a database stored procedure "getProductsInfo" . This code is written in C# you may want to convert it to VB.NET syntax.
    Thanks,
    Jagriti
    OTN IDC Team.

  • Oracle OLE DB Provider

    Hello
    I am having a problem printing repository reports.
    I can print some of the Designer repository reports like "attributes in a domain". But when I try to print Attribute definitions report, it gives me the following error message.
    "RWRUN60.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created ".
    Please suggest how do I print the above report.
    Thanks
    Taiyeb
    null

    We are currently investigating that functionality.

  • Oracle OLE DB 8.1.7.3 entry point kpcddtasg in oracommon8.dll

    I have encountered a problem while installing Oracle OLE DB provider. I have Oracle 8.1.6 server installed.
    After I installed the software the oracle service failed to start and the following error message was given
    "the proceedure entry point kpcddtasg could not be found in the dynamic link library oracommon8.dll"
    Has A.O. else encounered resolved this problem?
    Henry.

    oh ... I forgot to say ..
    when I run query under Enterprise Manager as
    select * from Openquery (db, 'select * from table')
    then it will show me a pop-up message
    "Query Designer encountered a MS Design Tools error:
    ODBC error: [Microsoft][ODBC SQL Server Driver][SQL Server]OLE DB provider 'OraOLEDB.Oracle' reported an error.
    [Microsoft][ODBC SQL server Driver][SQL Server][OLE/DB provider returned message: ORA-12545: Connect failed because target host or object does not exist]
    And I follow support.microsoft.com/support/complus/mtsandoracle.asp?SD=GN&LN=EN-US&gssnb=1,setting as follow
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTC\MTxOCI]
    "OracleXaLib"="oraclient8.dll"
    "OracleSqlLib"="orasql8.dll"
    "OracleOciLib"="oci.dll"

  • Oracle Client OLEDB Provider Installation

    I need to call Oracle OLEDB Provider "setup.exe" once I complete installing our product (using Installshield). I tried all different ways to do this and I have absolutely no luck.
    1. I tried calling LaunchaAppAndWait(SRCDIR^"disk1\\install\\win32\\setup.exe", "", WAIT) in OnFirstUIAfter event before SdFinishEx function and Installshield doesn't wait for Oracle Installer to finish its installation.
    2. I tried to get window handle for each window created during Oracle Installation and waiting, this somewhat makes Installshield to wait but hangs once Oracle completes its installation and sequence of windows displayed can change during Oracle Installation if user clicks on back button which will make Installshield to hang.
    Enable(STATUS);
    SetStatusWindow(count, "Please wait... launching Oracle Universal Installer");
    WindowName = "Welcome";
    FindOracleWindow();
    WindowName = "File Locations";
    FindOracleWindow();
    WindowName = "Available Product Components";
    FindOracleWindow();
    WindowName = "Summary";
    FindOracleWindow();
    WindowName = "Install";
    FindOracleWindow();
    WindowName = "End of Installation ";
    FindOracleWindow();
    hWnd=NULL;
    Disable(HOURGLASS);
    Disable(STATUS);
    3. I followed knowledge base article w[i]Long postings are being truncated to ~1 kB at this time.

    There is an Instant Client page on OTN http://otn.oracle.com/tech/oci/instantclient/instantclient.html as well as an Instant Client forum (Products | Database | Instant Client) where you may want to post any followup questions. I know you can use ODBC with the Instant Client, so you could use the OLE DB to ODBC provider. My hunch is that you cannot use the Oracle OLE DB provider with the Instant Client, but you're probably better off posting that question to the Instant Client forum for a definitive answer. If you can use OLE DB, the Instant Client documentation needs to be updated to mention that.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • OLE DB Provider problem

    Hi All,
    I have Oracle 10g Standard Edition installed on the Server Machine, and got FDM 11.1.1.2 installed on the Server.
    I am having problem creating a new application using Oracle OLE provider, it seems that no matter what Service name I input, the result will be "invalid username/password" (even though that the Service name never existed).
    I would like to know if that there is some configuration that I missed out that have caused it?
    Do I have to seperately install an OLE provider for FDM?
    Cheers,
    Jacky

    Jacky,
    FDM requires a valid connection to the database via the Oracle OLE-DB Provider. Test a connection to the database with a .UDL file. This Microsoft Data Access Link will be the same style of communications that FDM makes.
    Information for the requirements of databases can be found in the FDM DBA Guide. I would highly suggest you review and follow it exactly.
    Hopefully this helps....

Maybe you are looking for