Oracle ODBC Driver Connect window appears frequently

prashant wrote:
hi
I am running an application wriiten in vc++.I have installed the
application at the remote client end
succesfully.Initaily set the DSN for Oracle (10g exe) .When I start
using application I get "oracle ODBC Driver Window" after regular
intervals.
why this window is appearing frequently when i set the DSN initally and
tested succesfully.
pls help!!!

Oracle doesn't produce such a beast. Microsoft provides a lot of important ODBC infrastructure on Windows that driver writers rely on which isn't available on Linux.
There are third parties that have developed ODBC drivers for Oracle on Linux. There's an open source project at <http://www.unixodbc.com> that you might be able to use. Companies like Merant may also provide drivers.
Justin

Similar Messages

  • How can I do to get Oracle ODBC driver in Windows?

    Hello,
    Please, I need help to use Oracle ODBC driver in Windows 7. I installed Oracle Client 10g with the ODBC driver, but I can't use it. OracleODBC driver don't appear in the driver list when I want to create a new datasource. How I can do to get Oracle ODBC driver for create a new datasource?
    Thank
    Edited by: user4528703 on 13 mars 2010 02:01

    Hello,
    To get the ODBC driver you should run a custom Oracle Client installation and Select
    Oracle Windows Interfaces 10.2.0.1.0.
    Then, you'll get the Oracle ODBC Driver 10.2.0.1.
    But, be aware that Oracle didn't certify Windows 7.
    So, if afterwards, you experience some trouble, think to install Oracle with Xp compatibilty mode, or
    wait to Oracle 11.2.0.1 which will be certified on Windows 7.
    Hope this help.
    Best regards,
    Jean-Valentin

  • Could not see Oracle ODBC driver in Windows ODBC

    Hi,
    I have install the runtime version followed by custom->Windows Oracle Interface successfully.
    Any other steps that i have missed out or lack off in installing the Oracle ODBC driver?
    Thanks in advance.
    Tony

    It's not a plot, but it's sneaky.
    I had the same problem when I installed Oracle 10 client. There is a similar issue on the Oracle forum (Re: ODBC Driver Install Problem. Basically, what was happening is a line had been entered in the ODBC Drivers file that contains "@=". Anything following that line is NOT displayed in the ODBC Admin list.
    To fix this problem, open Regedit and export the "HKLM\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers" key to a file. Edit the file to remove the line "@=" and save the file. Delete the registry key, and merge in your updated file.

  • Problem with Oracle ODBC Driver on Windows 7

    Hi,
    Please help with this problem I have with a Windows 7 machine. I have installed Oracle Client 11g on my Windows 7 machine but when I want to create an ODBC Data Source, I cant find any driver for oracle. How can I resolve this issue? I need the data source for an application to work and I cant figure out what is happening. Someone please help!

    There's a dedicated Oracle ODBC forum:
    ODBC
    As this forum deals with connections from Oracle to foreign data stores it would be better to close this thread and post it again in the ODBC forum.

  • Oracle 10g ODBC driver with Windows 7 32 bit connecting to Excel

    Hi Everyone,
    I'm having an issue connecting to our oracle 10g database (64 bit system) from a 32 bit windows 7 installation running excel 2010/2007 using odbc drivers. Our excel spreadsheets worked without issue in windows xp.
    In windows 7 I have been able to install the odbc driver via the following method:
    1. Download the oracle 'basic' client and oracle 'odbc' client from www.oracle.com and extract the contents:
    instantclient-basic-win32-10.2.0.3-20061115
    instantclient-odbc-win32-10.2.0.3-20061115
    2. Create a folder 'oracle' and place the instantclient_10_2 folder inside.
    3. Ensure all the basic and odbc files reside in this folder.
    4. Create a 'network' folder within instantclient_10_2
    5. Create an 'admin' folder within 'network'
    6. Create sqlnet.ora and tnsnames.ora files within the 'admin' folder:
    7. Run 'obdc_install' within the instantclient_10_2 folder
    8. Download and run the oracle odbc driver exe file from www.oracle.com (ORA10203.exe)
    9. Go to Control Panel -> Administrative Tools -> Data Sources and create a new System DN
    This allows excel spreadsheets connecting ONLY to oracle to function.
    Unfortunately some of our spreadsheets connect to both a MySQL database as well as oracle. Spreadsheets connecting only to MySQL also function correctly, however, as soon as the vb associated with a spreadsheet includes a mysql call followed by an oracle call the spreadsheets fail. In Excel 2007 excel crashes completely everytime. In Excel 2010 the mysql data is generated, then when the script hits to oracle odbc connection there is a long pause, the oracle ODBC driver connect pops up requesting a username/password (this didn't happen in xp), then the data source selection pops up, then the username/password connect screen pops up again, and finally it fails with a runtime error '1004' General ODBC error.
    If you look at the VB script it's failing at the Refresh BackgroundQuery statement in the ODBC connection block:
    With Worksheets("Oracle1").QueryTables.Add(Connection:= _
    "ODBC;DSN=Oracle_ODBC;UID=user;PWD=password;SERVER=ORACLE_LINUX;", _
    Destination:=Worksheets("Oracle1").Range("A1"))
    .CommandText = strSql
    .Name = "Oracle1_data"
    .FieldNames = True
    .RowNumbers = False
    .FillAdjacentFormulas = False
    .PreserveFormatting = True
    .RefreshOnFileOpen = False
    .BackgroundQuery = True
    .RefreshStyle = xlOverwriteCells
    .SavePassword = True
    .SaveData = True
    .AdjustColumnWidth = True
    .RefreshPeriod = 0
    .PreserveColumnInfo = True
    .Refresh BackgroundQuery:=False
    End With
    Does anyone know how to get around this? It's very important!!
    Also if you try to edit the oracle ODBC connections in Control Panels -> Administrative Tools -> Data Sources, ODBC crashes 95% of the time.
    Advice greatly appreciated!!

    Well, here's what I'd check anyway..
    1) get Process Explorer from http://sysinternals.com
    2) make a mysql connection, get a list of dll's loaded (include the location and version columns in the lower pane output)
    3) close that, then make an ora odbc connection, get a list of dlls.
    4) close that, then make a mysql connection followed by an ora odbc connection, get a list of dlls
    5) compare the lists of loaded dlls. In particular, the difference between #3 and #4, is there a dll dependency that gets loaded by oracle's odbc that comes from a different location when you've opened a mysql connection first?
    May or may not help, but might turn up a difference to help point you in a direction.
    Greg

  • ORA-12154 Windows 7 32bit ORACLE 11g ODBC Driver CONNECT

    Hi All,
    I'm having problems connecting to extenal database using Oracle ODBC driver for Windows 7 32bit  .
    I have downloaded the instantclient odbc nt 11.2.0.4zip drivers for 32-bit and unpacked it
    and run the installer and choose the default location ie c:\app\product\11.2.0\client_1
    2.I done all the necessary setting ie set the Path and creating new user variable for tns admin
    in the system environment and modified the hostfile on etc sys32 and copied both tsnamesn and sqlnet
    to Network\Admin file
    3.I then started the Data Sources (ODBC) manager, configured the driver and tested the
    configuration then I got a testing connection error SQLstate= 08004... ORA-12154 TNS couldn't connect.
    could you please help. Thanks in advance.

    I couldn't understand why you need two different tnsnames files. Are they resides in two different directories with filename "tnsnames.ora"? In that case, you need to set the TNS_ADMIN appropriately.
    If you haven't named tnsnames files as "tnsnames.ora", then Oracle ODBC driver may not able to access it.
    Also if TNS_ADMIN env variable is not pointed to the correct directory where tnsnames.ora file resides, then Oracle ODBC driver won't be able to access it.
    In any case, if Oracle ODBC driver unable to access the tnsnames.ora and there is no connection string value stored in the Windows registry, then it throws ORA-12154 error.
    Thanks,
    Senthil

  • ODBC Driver in Windows XP.

    When I attempt to connect to the Oracle ODBC Driver in Windows XP I get an error IM003 (Driver could not be loaded, system error 5) If I run the application from an administrator account, the driver works fine.
    I am using Oracle v9.2010. I am trying to connect from the same computer that is running the database without any other drivers/clients installed.
    I am using C to develop the application using the ODBC API.

    You probably need to grant the non-Administrator user read/execute rights on the %ORACLE_HOME% directory & subdirectories. You probably don't need execute on anything other than %ORACLE_HOME%\bin, and you probably don't need read access on every subdirectory, but I don't see much of a security threat from giving everyone read/execute to the whole directory.
    Justin

  • ORACLE ODBC DRIVER를 이용하여 ORACLE DATABASE에 접속하는 방법 (8.X이상)

    제품 : ODBC
    작성날짜 : 2003-03-27
    ORACLE ODBC DRIVER를 이용하여 ORACLE DATABASE에 접속하는 방법 (8.X이상)
    =========================================================
    PURPOSE
    Oracle Client가 8.X version인 경우, Oracle ODBC driver를 설치하고 Oracle
    database에 접속하는 방법을 살펴본다.
    Explanation
    1. 다음 site에서 Oracle ODBC driver를 download받는다.
    - http://otn.oracle.com에 접속한다.
    - downloads 항목을 선택하고 다음 페이지로 이동한다.
    - 오른쪽 끝쪽의 Technologies, Utilities, and Drivers TAB부분에,
    Oracle ODBC Drivers를 선택한다.
    - login 화면이 나타나고 login하여 접속하면 Oracle ODBC driver가 version별로
    download받을 수 있도록 나타난다.
    이때, version은 ODBC driver를 설치하고자 하는 client의 Oracle Client
    version과 동일한 것을 사용한다. 접속하고자 하는 db version에 맞추는것이
    아님을 유의한다.
    - 해당 version을 선택하고 다음 page에서,
    ELIGIBILITY EXPORT RESTRICTIONS 부분에 나타나는 5개 항목을 모두 표시한
    상태에서 끝에 I ACCEPT button을 누른다.
    - 해당 version의 .exe file을 download받는다.
    2. download 받은 odbc를 install한다.
    - 예를 들어 download받은 화일이 ora9202.exe라고 가정한다.
    - 이것을 실행시키면 압축이 자동으로 풀리는데 미리 d:\odbc와 같이 directory를
    만들어 둔 후 해당 directory에 압축이 풀리도록 한다.
    - 이미 Oracle Client 설치시 설치된 Oracle Universal Installer를 실행한다.
    - Universal Installer에서 '화일 위치' 항목에서 '소스' 부분에 d:\odbc쪽을
    선택하면, d:\odbc\Disk1\state\product.jar가 선택되는데 이러한 상태에서,
    아래 '대상' 부분에서는 Oracle Client가 설치되어 있는 ORACLE_HOME이름을
    선택하여 같은 ORACLE_HOME을 base로 odbc가 설치되도록 한다.
    3. ODBC configuration을 설정하고 연결을 테스트한다.
    - install이 끝나면, windows의 '시작'->'프로그램'->해당 oracle_home을
    선택하고 'Network Administration'-> 'Microsoft ODBC Administrator'를
    선택한다.
    - 사용자 DSN 혹은 시스템 DSN TAB상태에서, 오른쪽에 '추가' button을 누른다.
    - 데이타원본을 설정할 드라이버 선택 부분에서,
    'Oracle in oracle8i_home' 과 같이 해당 oracle_home을 나타내는 oracle을
    선택하고 '마침'을 누른다.
    - 'Oracle ODBC Driver Configuration' windows가 나타나게 되는데, 여기서
    - Data Source Name: application에서 사용할 data source이름을 지정한다.
    - Description: 임의로 설명을 적을 수 있다.
    - TNS Service Name: Oralce client의 %ORACLE_HOME%\network\admin directory의
    tnsnames.ora file내의 TNS 서비스 명을 적는다. 이 TNS 서비스 명을
    이용해서 sqlplus와 같이 odbc를 거치지 않고도 db server로 접속시 문제가
    없어야 한다. 미리 sqlplus에서 test해볼것을 권장한다.
    sqlplus상에서 username/passwd뒤에 @표시 뒤에 적는 글자를 의미하는 것이다.
    - User ID: scott/tiger와 같이 접속하고자 하는 username/password를 적는다.
    - 오른쪽에 'Test Connection' button을 선택하여 접속이 잘 되는지를 test한다.

  • Oracle ODBC Driver for Rdb 2.10.11.00 on  Windows 2008 64-bit

    Hello,
    Our application runs on Windows 2000 Professional SP4 and connects to RDB databases on Alpha Open/VMS via Oracle ODBC Driver fro Rdb release 2.10.11.00.
    We are migrating to Windows Server 2008 64-bit environment.
    We tested both recent Rdb ODBC driver releases (3.3.0.0 and 3.3.1.0) but we are getting errors intermittently when the application loads data from certain tables. Trace logs show no errors which could indicate the origin of the issue.
    We want to use the old (2.10.11.00) release but it cannot be installed only on the Win 2008 32-bit version.
    Can anyone suggest how to install the Oracle ODBC Driver for Rdb release 2.10.11.00 on a Windows 2008 64-bit Server?
    Thanks in advance,
    Momir

    Hello,
    Take a loot at http://www.connx-net.com/rdb.htm they have a 64 bit ODBC OLE DB JBC and .NET solution.
    Regards,
    Ant

  • Oracle ODBC driver not register in Windows

    hi,
    i notice that the oracle odbc driver is not register as one of the data source in the windows. Do anyone having this problem too?? and any solutions??
    I've installed Oracle 10.2.0.1.0 on a windows XP platform. When i want to create a data source in the ODBC, i realize that the oracle driver is not there...
    thanks in advance

    hi,
    i've checked, oracle odbc is installed in my machine, but it is not appear in the windows data source ODBC (control panel > administrative tools > Data Sources (ODBC)).
    I've tried to uninstall and re-install, again the oracle odbc is installed in my machine but never appear in the windows data source ODBC. Is there a way to made it appear in the windows manually?
    thanks

  • Is the Oracle ODBC Driver 10.2.0.5.0 certified for Windows 7 (32bit)

    For this question my client needs a reliable answer when their global IT migrates all Windows clients to Win7.
    Now, Support Note 1061272.1 says Oracle Client 10.2.0.5.0 IS certfified on Win7 32bit.
    But, Support Note ID 66403.1 says Oracle ODBC Driver 10.2.0.5.0 is NOT certified on Win7.
    Does anyone one know, what counts?
    Is (A) Note 1061272.1 right because ODBC is part of the client and note 66403.1 is simply outdated or inaccurate, or
    is (B) note 66403.1 correct, because the ODBC driver is certified seperately?
    Thanks for suggestions (or better: statements from Oracle), otherwise I have to open an SR.
    Kai

    10205 is certified on Win7, 66403.1 will be corrected.
    Greg

  • Oracle ODBC Driver, Release 3.0.2.1 for Windows

    Dear All,
    in reference to "Known Software Problems" section on the page ...
    http://otn.oracle.com/products/rdb/htdocs/rdb_odbc/odbc_v3.0.2.1.html#known_soft
    Problem number 3 is as follows:
    3. The ODBC Driver detects "ROWID" or "DBKEY" values by their names.
    If you rename such a column, as in the statement
    SELECT LAST_NAME, DBKEY AS FOO FROM EMPLOYEES;
    the driver will not recognize that the column is a DBKEY and will not
    properly present the data for the application.
    Does anyone know if this problem will be fixed in release V3.0.2.2
    or when if not in 3.0.2.2 ?
    Thanks in advance
    Derek

    Note that this problem applies to Oracle's ODBC driver for RDB, not to the Oracle ODBC driver. The former is used to connect to an RDB database, the latter to an Oracle database.
    If you're interested in information about Oracle's ODBC driver for RDB, you probably want to contact technical support, as there aren't a whole lot of people in this forum using RDB. My recollection is that it's been quite some time since a new version of the RDB ODBC driver has been released-- I don't know if there is even any development being done on it.
    Justin

  • Oracle ODBC driver and TIMESTAMP with timezone

    Does anyone know if it is possible to return data from a "TIMESTAMP WITH TIMEZONE" column using the Oracle ODBC driver and an ADO Recordset?
    I am using the Oracle driver version 10.2.0.2 and TIMESTAMP fields work fine.
    I can call Recordset->Open() with a query like "SELECT * FROM TABLE" when the table contains a column of type timestamp with timezone but when I execute a statement to see if there are results as in
    if (!(srcRecsetPtr->BOF && srcRecsetPtr->EndOfFile))
    my application throws an unhandled exception and exits. The exception is not a COM exception and I'm not sure how to get back additional information if that's possible.
    The only information I've been able to find in searching TechNet and MetaLink is that a workaround is to wrap the columns in a TO_CHAR or TO_DATE conversion first but that's not a good solution for my problem since I am executing user specified SQL which may join multiple tables.
    I've found one other note that says the documentation should be corrected and that these fields are NOT supported period (Bug #4011640).
    I've experimented with the Bind Timestamp as Date option in the ODBC connection and with various ALTER SESSION settings to attempt to change the NLS_TIMESTAMP_TZ_FORMAT but I have been unable to get past the problem.
    Any ideas are greatly appreciated.
    Thanks,
    Troy

    Hi Justin
    Thanks for your help.
    I tried what you mentioned and I could connect myself via SQL*Plus without passing a password and a login, Extern authentification seems to work and my user seems to be right configurated.
    But he problem goes on via ODBC. When I test connection in the ODBC Data Source Administrator of Windows XP, test fails and seems to forbid connection without userID and password. When I try to connect via ODBC in my program the same problem appears : "Unable to connect SQLSTATE=28000 [Oracle][ODBC][ORA]Ora-01017: Invalid username/password;logon denied" I could not connect in this way.. What's wrong ?

  • ODBC Driver for Windows 7 - 64 bit

    Hi All,
    I am having problems with using the Microsoft ODBC for Oracle Driver in Windows 7 - 64bit system. I am using the following code in my VB script
    Set myConnection = CreateObject("ADODB.Connection")
    myConnection.Open "Driver={Microsoft ODBC for Oracle};" & "Server=xxxxxx;" & "Uid=xxxxx;" & "Pwd=xxxxx"
    Set myRecord = CreateObject("ADODB.recordset")
    Sql = "Select * from employees where id= '01234'"
    myRecord.Open Sql, myConnection
    For Each r In myRecord.Fields
    MsgBox r.Name
    Next
    I get the following error message: "The Oracle (tm) client and networking components are not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation, You will be unable to use this driver until these components have been installed"
    "[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed"
    Can you help me out on which version of Oracle client i need to install and what other settings I need to do on my Windows 7 system after the client installation.

    I tried installing "instantclient-basic-windows.x64-11.2.0.4.0" and "instantclient-odbc-windows.x64-11.2.0.4.0" both. I ran the odbc_install.exe in command prompt as administrator and got the message "Oracle ODBC Driver is installed successfully."
    I also set the environment Variable "Path" as "C:\instantclient_11_2".
    But when tried to use the above VBScript to connect to the Oracle DB, i get the same error message. I am really stuck with this for past two days.

  • Insert into CLOB fails with Oracle ODBC driver version 9.02.00.65

    I tried to insert into CLOB using the latest Oracle ODBC driver 9.02.00.65 and it fails. But the same works with earlier versions of ODBC driver earlier to 9.02.00.65 ie., 9.02.00.63.
    Here is the code snippet I tried. Any help now is highly appreciated as I am in the crunch time.
    I tried the same code snippet with VARCHAR2 column with the same driver and it works.
    ** CONVDSN.C - This is the ODBC sample code for
    ** creating File DSN pointers to machine DSNs.
    **This code is furnished on an as-is basis as part of the ODBC SDK and is
    **intended for example purposes only.
    #include <windows.h>
    #include <stdio.h>
    #include <tchar.h>
    #include <sql.h>
    #include <sqlext.h>
    #include <odbcinst.h>
    #include <sqltypes.h>
    #define MAXDATALEN 25 //maximum data length per column
    #define MAX_COL 15 //maximum column in result set
    #define MAX_ROW 100 //maximum number of rows
    #define MAXBUFLEN 256
    #define SQLERR_FORMAT "SQL Error State:%s, Native Error Code: %lX, ODBC Error: %s"
    #define MAXDISPLAYSIZE MAX_COL*(MAXDATALEN+1)
    #define SQLWRNMSGTITLE "SQL_SUCCESS_WITH_INFO results"
    #define SQLERRCNTDTITLE "SQL_ERROR results continued"
    #define SQLWRNMSGTITLE "SQL_SUCCESS_WITH_INFO results"
    #define SQLWRNCNTDTITLE "SQL_SUCCESS_WITH_INFO results continued"
    #define NULLDATASTRING "SQL_NULL_DATA"
    #define SQLERRMSGTITLE "SQL_ERROR results"
    // prototypes
    void ExpandFileName(LPSTR szFileDSNName, LPCSTR szDSNName);
    void MakeLegalName(LPSTR szLegalDSNName, LPCSTR szDSNName);
    // main routine: Iterate through the user and system DSNs, creating a pointer
    // to each.
    void FAR PASCAL DisplayError(SQLRETURN nResult, HWND hWnd, SWORD fHandleType, SQLHANDLE handle);
    void insertSelectClob();
    void checkRcCode(RETCODE rc);
    int main (int argc, char* argv[])
         insertSelectClob();
    return 0;
    void FAR PASCAL DisplayError(SQLRETURN nResult, HWND hWnd, SWORD fHandleType, SQLHANDLE handle)
         UCHAR szErrState[SQL_SQLSTATE_SIZE+1]; // SQL Error State string
         UCHAR szErrText[SQL_MAX_MESSAGE_LENGTH+1]; // SQL Error Text string
         char szBuffer[SQL_SQLSTATE_SIZE+SQL_MAX_MESSAGE_LENGTH+MAXBUFLEN+1];
         // formatted Error text Buffer
         SWORD wErrMsgLen; // Error message length
         UDWORD dwErrCode; // Native Error code
         int iSize; // Display Error Text size
         SQLRETURN nErrResult; // Return Code from SQLGetDiagRec
         SWORD sMsgNum = 1;
         SWORD fFirstRun = TRUE;
         char szDispBuffer[MAXDISPLAYSIZE+1]; // Display Buffer
         szBuffer[0] = '\0';
         do
              // continue to bring messageboxes till all errors are displayed.
              // more than one message box may be reqd. as err text has fixed
              // string size.
              // initialize display buffer with the string in error text buffer
              strcpy(szDispBuffer, szBuffer);
              // call SQLGetDiagRec function with proper ODBC handles, repeatedly until
              // function returns SQL_NO_DATA. Concatenate all error strings
              // in the display buffer and display all results.
              while ((nErrResult = SQLGetDiagRec(fHandleType, handle, sMsgNum++,
                   szErrState, &dwErrCode, szErrText,
                   SQL_MAX_MESSAGE_LENGTH-1, &wErrMsgLen)) != SQL_NO_DATA)
                   if(nErrResult == SQL_ERROR || nErrResult == SQL_INVALID_HANDLE)
                   break;
                   wsprintf(szBuffer, SQLERR_FORMAT, (LPSTR)szErrState, dwErrCode, (LPSTR)szErrText);
                   iSize = strlen(szDispBuffer);
                   if (iSize && (iSize+strlen(szBuffer)+1) >= MAXDISPLAYSIZE)
                   break;
                   if (iSize)
                   strcat(szDispBuffer, "\n");
                   strcat(szDispBuffer, szBuffer);
              // display proper ERROR or WARNING message with proper title
              if (nResult == SQL_SUCCESS_WITH_INFO)
                   MessageBox(hWnd, szDispBuffer, (fFirstRun? SQLWRNMSGTITLE : SQLWRNCNTDTITLE),
                   MB_OK | MB_ICONINFORMATION);
              else
                   MessageBox(hWnd, szDispBuffer, (fFirstRun? SQLERRMSGTITLE : SQLERRCNTDTITLE),
                   MB_OK | MB_ICONEXCLAMATION);
              if (fFirstRun)
                   fFirstRun = FALSE;
         while (!(nErrResult == SQL_NO_DATA || nErrResult == SQL_ERROR || nErrResult == SQL_INVALID_HANDLE));
    void insertSelectClob()
    SQLCHAR clobdata[1001];
    SQLCHAR resultdata[1001];
    SQLINTEGER ind = SQL_DATA_AT_EXEC;
    SQLCHAR *bufp;
         SQLINTEGER cbOrderID = sizeof(SQLSMALLINT);
         SQLSMALLINT sTmp=13;
         SQLCHAR *sqlStmt1  = _T("INSERT INTO clobtbl(id, clob1) VALUES(?, ?)");
         SQLCHAR *sqlStmt2  = _T("SELECT id, clob1 FROM clobtbl");
    //     SQLCHAR *sqlStmt1  = _T("INSERT INTO testInsert(id, clob1) VALUES(?, ?)");
    // SQLCHAR *sqlStmt2  = _T("SELECT id, clob1 FROM testInsert");
    int clobdatalen, chunksize, dtsize, retchklen;
         HENV envHnd;
    HDBC conHnd;
    HSTMT stmtHnd;
    RETCODE rc;
         int nRowcnt=0;
         SQLPOINTER pToken = NULL;
    rc = SQL_SUCCESS;
    // ENV is allocated
    rc = SQLAllocEnv(&envHnd);
    // Connection Handle is allocated
    rc = SQLAllocConnect(envHnd, &conHnd);
    rc = SQLConnect(conHnd, T("testd734"), SQLNTS, T("ipathdba"), SQLNTS, T("ipathdba"), SQLNTS);
    printf(_T("Insert CLOB1 using SQLPutData...\n[%s]\n"), sqlStmt1);
    // Set CLOB Data
    int i;
    SQLCHAR ch;
    for (i=0, ch=_T('A'); i< sizeof(clobdata)/sizeof(SQLCHAR); ++i, ++ch)
    if (ch > _T('Z'))
    ch = _T('A');
    clobdata[i] = ch;
    clobdata[sizeof(clobdata)/sizeof(SQLCHAR)-1] = _T('\0');
    clobdatalen = lstrlen(clobdata); // length of characters
    chunksize = clobdatalen / 7; // 7 times to put
         rc = SQLAllocHandle(SQL_HANDLE_STMT, conHnd, &stmtHnd);
    // Step 1: Prepare
    rc = SQLPrepare(stmtHnd, sqlStmt1, SQL_NTS);
    // checkSQLErr(envHnd, conHnd, stmtHnd, rc);
    // Step 2: Bind Parameter with SQL_DATA_AT_EXEC
    rc = SQLBindParameter(stmtHnd,
    1,
    SQL_PARAM_INPUT,
    SQL_C_SSHORT,
    SQL_INTEGER,
    0,
    0,
    &sTmp,
    0,
    &cbOrderID);
    rc = SQLBindParameter(stmtHnd,
    2,
    SQL_PARAM_INPUT,
    SQL_C_CHAR,
    SQL_LONGVARCHAR,
    clobdatalen*sizeof(CHAR),
    0,
    (SQLPOINTER)clobdata,
    clobdatalen*sizeof(CHAR),
    &ind);
    // checkSQLErr(envHnd, conHnd, stmtHnd, rc);
    // Step 3: Execute
    rc = SQLExecute(stmtHnd);
         while (rc == SQL_NEED_DATA) {
              rc = SQLParamData(stmtHnd, &pToken);
              if (rc == SQL_NEED_DATA) {
                   for (dtsize=0, bufp = clobdata;
                        dtsize < clobdatalen;
                        dtsize += chunksize, bufp += chunksize)
                   int len;
                   if (dtsize+chunksize < clobdatalen)
                        len = chunksize;
                        rc = SQLPutData(stmtHnd, bufp, len*sizeof(SQLCHAR));
                   else
                        len = clobdatalen-dtsize;
                        rc = SQLPutData(stmtHnd, bufp, SQL_NTS);
              rc = SQLParamData(stmtHnd, &pToken);
    // Fails as row count retrieved is zero.
         rc = SQLRowCount(stmtHnd, &nRowcnt);
         if(rc != SQL_SUCCESS)
              DisplayError(rc, NULL, SQL_HANDLE_ENV, conHnd);
    rc = SQLFreeStmt(stmtHnd, SQL_CLOSE);
    printf(_T("Finished Update\n\n"));
    rc = SQLAllocStmt(conHnd, &stmtHnd);
    if (rc != SQL_SUCCESS)
    printf(_T("Failed to allocate STMT\n"));
    exit(-1);
    // Clear Result Data
    memset(resultdata, 0, sizeof(resultdata));
    chunksize = clobdatalen / 15; // 15 times to gut
    rc = SQLExecDirect(stmtHnd, sqlStmt2, SQL_NTS); // select
         if(rc != SQL_SUCCESS)
              DisplayError(rc, NULL, SQL_HANDLE_ENV, conHnd);
    // Step 2: Fetch
    rc = SQLFetch(stmtHnd);
    for(dtsize=0, bufp = resultdata;
    dtsize > sizeof(resultdata)/sizeof(CHAR) && rc != SQL_NO_DATA;
    dtsize += chunksize-1, bufp += chunksize-1)
    int len; // len should contain the space for NULL termination
    if (dtsize+chunksize<sizeof(resultdata)/sizeof(CHAR))
    len = chunksize;
    else
    len = sizeof(resultdata)/sizeof(CHAR)-dtsize;
    // Step 3: GetData
    rc = SQLGetData(stmtHnd,
    2,
    SQL_C_CHAR,
    (SQLPOINTER)bufp,
    len*sizeof(CHAR),
    &retchklen);
    if (!_tcscmp(resultdata, clobdata))
    printf(_T("Succeeded!!\n\n"));
    else
    printf(_T("Failed!!\n\n"));
         if (conHnd)
              SQLFreeConnect(conHnd);
         if (envHnd)
              SQLFreeEnv(envHnd);
    }

    Hi,
    Since 9.2 has been desupported for error correction you will not be able to download that version from OTN. You should ask whoever is providing the training if their is an alternate version you can use. The only versions that you will be able to download from oracle.com is 10.2 11.1, and 11.2.

Maybe you are looking for