[Oracle][ODBC] Option value changed??????

I'm building an application in which I use different sql queries depending on the value of JChoice. When I change this value I get the message java.sql.Exception: [Oracle][ODBC] Option value changed.
Nothing happens..... What could be the probable cause of this?
Frits

Ok, here some code.....I hope it is enough...
The Problem is that as soon as soort becomes "NRC", the code below it is not being entered.....
if (soort=="NRC") { 
connectiearbnrc = window.geefConnectiearb();
statementarbnrc = connectiearbnrc.prepareStatement(gekozenarbq,resultsetarbnrc.TYPE_SCROLL_INSENSITIVE,resultsetarbnrc.CONCUR_READ_ONLY );
statementarbnrc.setString(1,tklant.getText());
statementarbnrc.setString(2,telement.getText());
statementarbnrc.setString(3,alles);
resultsetarbnrc = statementarbnrc.executeQuery();
meta = resultsetarbnrc.getMetaData();
cols = meta.getColumnCount();
resultsetarbnrc.last();
rows=resultsetarbnrc.getRow(); System.out.println(rows + " " + cols + " " + resultsetarbnrc.getString("ELEMENT_ID"));
resultsetarbnrc.first();
data = new Object [rows][cols];
for (int u = 0; u < rows; u++) {
data[0]=resultsetarbnrc.getString("EX");
data[u][1]=resultsetarbnrc.getString("TYPE_ID_NRC");
data[u][2]=resultsetarbnrc.getString("DES");
data[u][3]=resultsetarbnrc.getString("EFF_DT");
resultsetarbnrc.next();
Frits

Similar Messages

  • Oracle ODBC Error - Option Value Changed - What does it Mean and How to fix

    We have an asp web report making calls to an oracle 8i database. It appears that we get the following error on regular basis for one particular report:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e31'
    [Oracle][ODBC]Option value changed.
    /FinalBilling/Report2.asp, line 49
    When the web page is refreshed, it appears the error goes away. Any new call to the database from the web page will start with the error again though.
    Other web pages seem to work ok with out error.
    Did a number of google searches did not find anything definative that seemed to help.

    These messages can be ignored. They are common but innocuous. There is nothing you need to fix.

  • Estimated recalc flag not set when option value changed

    Hi,
    Here is the problem.
    when i change the option value using front end and ran the procedure in dev, one for exprecalc and the other for estm recalc,then estimated flag & expense flag changed to 25964.which is correct.
    when i repeated the same process in UAT,only expense is changing 25964
    but not estimated,it remains 26040.
    only one record is there.
    for '03/14/2003', i changed the option value
    select estm_reclcn_c,exps_reclcn_c from grn
    where grn_d=to_date('03/14/2003','mm/dd/yyyy')
    and org_grp_i=44;
    what might be the reason.Any clue
    Thanks in advance.

    Hello 511111,
    You haven't given us much to go on but it sounds like there are differences in either the software (PL/SQL, SQL etc) or the data between your dev and uat environments that is causing the differing behaviour.
    Cheers,
    Colin

  • KF creation  - Non-cumulative value with NCUM value change - option

    What is the use above option in the KF creation?
    Thanks

    Hi,
    A non-cumulative is a non-aggregating key figure on the level of one or more objects, which is always displayed in relation to time. Examples of non-cumulatives include headcount, account balance and material inventory.
    If you use non-cumulative key figures, an absolute non-cumulative value (the marker) and all non-cumulative value changes are saved in the fact table of the InfoCube. In this way, the retention and volume of data in the data loading process is optimized. A data record is then only loaded to the InfoCube if a non-cumulative changes because of a transaction. Non-cumulatives can then be evaluated at any time in queries, using non-cumulative key figures.
    Pls chk this links;
    http://sap.seo-gym.com/inventory.pdf
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62ebe07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a62f8e07211d2acb80000e829fbfe/frameset.htm
    Reagrds
    CSM Reddy

  • [Oracle][ODBC][Ora]ORA-24801: illegal parameter value in OCI lob function

    Hi,
    I am trying to insert an xml doc into a column of Oracle table which has a datatype CLOB in JSP. PFB my code that I am using --
    int id = 100;
    String st1 = "NEW";
    String st2 = "WLR3_IN_1";
    Date dt = new SimpleDateFormat("mm/dd/yyyy").parse("04/02/2008");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection("jdbc:odbc:CST Server","xmluser","xmluser");
    String query = "INSERT INTO SEQ_API_MESSAGE_IN(SEQ_NO,MESSAGE_TEXT,STATUS,DIALECT,CREATED_TS) VALUES(?,?,?,?,?)";
    out.println(6);
    String fn = "C:/order.xml";
    out.println(7);
    PreparedStatement stmt = con.prepareStatement(query);
    out.println(8);
    File file = new File(fn);
    out.println(9);
    FileReader inputFileReader = new FileReader(file);
    stmt.setInt(1,id);
    stmt.setCharacterStream(2,inputFileReader, (long)file.length());
    stmt.setString(3,st1);
    stmt.setString(4,st2);
    stmt.setDate(5,new java.sql.Date(dt.getTime()));
    out.println(10);
    if (stmt.executeUpdate() != 1) {
    System.out.println("No record inserted.");
    But I am getting an output in the form of an Oracle error - 5 6 7 8 9 10 [Oracle][ODBC][Ora]ORA-24801: illegal parameter value in OCI lob function
    So all the statements are getting executed after which this Oracle error is thrown. Could you help me with this.
    Thanks in anticipation.. :)

    As suggested I may try switching to JDBC instead of JDBC-ODBC bridge driver , but I also tried doing this to get the sysdate --
    //Date dt = new SimpleDateFormat("mm/dd/yyyy").parse("04/02/2008");
    String date = DateFormat.getInstance().format(new Date());
    stmt.setString(5,date);
    and now I am getting this error -- 5 6 7 8 9 10 [Oracle][ODBC][Ora]ORA-01843: not a valid month Hello1
    Hello1 is coming from --
    catch (SQLException sqle){
    out.println(sqle.getMessage());
    out.print("Hello1");
    }

  • Value change option for cropping grid lines, PLEASE

    The light grey grid lines that appear during the cropping of photos are perfect on a dark photo, but they are REALLY difficult to see on a very light photo.
    I'm not asking to change colors; just one value change option would suffice.

    For Version 3.0 they could probably auto detect the over brightness and switch between a light and a dark. But I wouldn't hold my breath for anytime soon. A toggle for dark or light overlay would do!
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Installed Oracle 9.2 Administrator - No Oracle ODBC Driver Option Found

    If anyone can help me, I would greatly appreciate it. I just recently de-installed Oracle 8i on my laptop and installed Oracle 9.2. Once I finished installing 9.2, I went to set up a data source and realized that there is no Oracle ODBC Driver option available when setting up my datasource. In addition, I am unable to configure or delete any of my existing data sources that were created with the Oracle ODBC Driver.
    I have de-installed and re-installed 9.2 Administrator at least four times now. In between the installs, I have removed the old Oracle directories, services, entries in my registry and PATH. The result is still the same, not Oracle ODBC Driver option available after the installation. I get no errors when installing and the ODBC Drivers indicate that they have been installed. I have even tried re-installing the drivers and still get nothing.
    Please help.
    DGolay

    Hi
    Strange behaviour.
    Anyway, you can find the drivers here :
    http://www.oracle.com/technology/software/tech/windows/odbc/index.html

  • Decimal values truncated from SQL Call through Oracle ODBC

    Hi
    I'm using Oracle ODBC driver v 9.02.00.06; when I make a SQL call to query data from the Oracle ERP (PO_Lines_All), my decimal values are truncated. Instead of getting 112.25, I only get 112
    Can someone help me fix this problem?
    thanks

    The problem is commonly related to a language difference between Oracle and SQL Server.
    Try setting HS_LANGUAGE=american_america.we8mswin1252 in the intialisatuion file of HSODBC.
    Then start a new SQL*Plis session and give it a try.
    If you still have problems, set it to:
    HS_LANGUAGE=german_germany.we8mswin1252 in the

  • Oracle ODBC BLOB examples.

    We are currently writing a VB application to harvest data from an Access 2000 database, which is to large to convert to 97 and use migration workbench, and stuff it into an Oracle 8 database, which already has the table structures from the Access dataabase created in it. We are running into a problem in transfering OLE objects in Access to BLOBs in Oracle. Can anyone give some insight / code examples?
    Thanks,
    Matt Shoultz

    When you get a chance, can you post the ADO version, or a link to it?
    thanks.
    Chris
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Justin Cave ([email protected]):
    Unfortunately, I've never dealt with OLE objects in Access. I'm more than happy to help with BLOB's, though.
    I'm posting a document below that covers reading & writing BLOB's with RDO under VB. Unfortunately, it's a little long, so I hope it doesn't get mangled too badly. If there's interest in an ADO version, let me know that as well and I'll post it on another thread.
    If folks would like me to e-mail them a copy of this document, drop me a line. Expect it to take me at least a few days to reply to these requests, though.
    PURPOSE
    The code below should demonstrate how to read from and write to Oracle
    8 BLOB datatypes.
    SCOPE & APPLICATION
    Experienced Visual Basic Developers.
    RELATED DOCUMENTS
    None.
    The code below this demonstrates how to create a Visual Basic project
    to read from and write to BLOB datatypes. It was written and tested using Visual
    Basic 5 and RDO 2. The Oracle 8.0.5.2 ODBC driver was also used and an
    Oracle 8.0.5 database.
    Disclaimer:
    This sample is provided for educational purposes only. It is NOT supported by
    Oracle World Wide Technical Support. The sample has been tested and appears to
    work as intended. However, you should always test in YOUR environment before
    relying on it.
    'Form Image Description
    '~~~~~~~~~~~~~~~~~~~~~~
    'The form needs 1 OLE control (OLE1) and 1 small text box (text 1) default value '1'
    'it also needs 4 command buttons (AddNew,LoadFrom,LoadFromFile,SaveToDB)
    'ODBC Datasource
    '~~~~~~~~~~~~~~~
    'Configure an 8.0.5.2 Oracle ODBC Driver Datasource named 'V805'
    'Code required to generate database objects.
    '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    'drop table tblTestBlob;
    'CREATE TABLE tblTestBlob
    ' DATA_ID NUMBER(5,0),
    ' DATA_BlobData BLOB,
    ' DATA_MemoData CLOB
    'INSERT INTO TBLTESTBLOB VALUES (1,EMPTY_BLOB(), EMPTY_CLOB());
    Option Explicit
    Dim en As rdoEnvironment
    Dim Qd As rdoQuery
    Dim Cn As rdoConnection
    Dim Rs As rdoResultset
    Dim SQL As String
    Dim DataFile As Integer, Fl As Long, Chunks As Integer
    Dim Fragment As Integer, Chunk() As Byte, I As Integer
    Const ChunkSize As Integer = 16384
    Dim fileName As String
    Private Sub PipeToFile(sFileName)
    Dim iFile As Integer
    iFile = FreeFile
    Open sFileName For Binary As iFile
    Me.OLE1.SaveToFile iFile
    DoEvents
    Close iFile
    End Sub
    Private Sub AddNew_Click()
    Dim sSQL As String
    sSQL = "Select * from TBLTESTBLOB"
    On Error GoTo errorhandler
    Set Rs = Cn.OpenResultset(sSQL, rdOpenKeyset, rdConcurValues)
    If Rs Is Nothing Or Rs.Updatable = False Then
    MsgBox "Cant open or write to result set"
    Exit Sub
    End If
    Rs.AddNew
    Rs("DATA_ID") = Val(Me.Text1)
    Rs("DATA_BLOBDATA").AppendChunk Null
    Rs("DATA_MEMODATA").AppendChunk Null
    Rs.Update
    Rs.Close
    Set Rs = Nothing
    Exit Sub
    errorhandler:
    MsgBox "Add new click"
    MsgBox Err.Number
    MsgBox Err.Description
    End Sub
    Private Sub Form_Load()
    On Error GoTo errorhandler
    Set Cn = New rdoConnection
    Cn.CursorDriver = rdUseOdbc
    Cn.Connect = ";dsn=" & "V805" & ";uid=" & "scott" & ";pwd=" & "tiger"
    Cn.EstablishConnection
    Exit Sub
    errorhandler:
    MsgBox "Form Load"
    MsgBox Err.Number
    MsgBox Err.Description
    End Sub
    Private Function GetBLOBLength() As Long
    Dim sSQL As String
    Dim oResult As RDO.rdoResultset
    On Error GoTo errorhandler
    sSQL = "SELECT DBMS_LOB.GETLENGTH(DATA_BLOBDATA) FROM TBLTESTBLOB WHERE DATA_ID=" & Text1
    Set oResult = Cn.OpenResultset(sSQL, rdOpenStatic)
    GetBLOBLength = Val("" & oResult.rdoColumns(0).Value)
    oResult.Close
    Set oResult = Nothing
    Exit Function
    errorhandler:
    MsgBox "Get BLOB Length"
    MsgBox Err.Number
    MsgBox Err.Description
    End Function
    Private Sub LoadFrom_Click()
    Dim iNumBlocks As Integer
    Dim lColSize As Long
    Dim lBlockSize As Long
    Dim byteData() As Byte
    Dim lOffSet As Long
    Dim iDestFileNum As Integer
    Dim lLeftOver As Long
    Dim iCount As Integer
    Dim sSQL As String
    On Error GoTo errorhandler
    sSQL = "Select * from TBLTESTBLOB WHERE DATA_ID=" & Val(Text1)
    Set Rs = Cn.OpenResultset(sSQL, rdOpenKeyset, rdConcurValues)
    If Rs Is Nothing Or Rs.Updatable = False Then
    MsgBox "Cant open or write to result set"
    Exit Sub
    End If
    If Not Rs.EOF Then
    lColSize = GetBLOBLength()
    If lColSize <> 0 Then
    iDestFileNum = FreeFile
    Open "c:\TEST.DAT" For Binary As iDestFileNum
    lBlockSize = 10000
    iNumBlocks = lColSize \ lBlockSize
    lLeftOver = lColSize Mod lBlockSize
    For iCount = 1 To iNumBlocks
    ReDim byteData(lBlockSize)
    byteData() = Rs("DATA_BLOBDATA").GetChunk(lBlockSize) 'note offset not used by RDO (?)
    Put iDestFileNum, , byteData()
    lOffSet = lOffSet + lBlockSize 'note offset not used by RDO (?)
    Next iCount
    ReDim byteData(lLeftOver)
    byteData() = Rs("DATA_BLOBDATA").GetChunk(lLeftOver) 'note offset not used by RDO (?)
    Put iDestFileNum, , byteData()
    Close iDestFileNum
    iDestFileNum = FreeFile
    Open "c:\TEST.DAT" For Binary As iDestFileNum
    Me.OLE1.ReadFromFile iDestFileNum
    Close iDestFileNum
    End If
    End If
    Rs.Close
    Set Rs = Nothing
    Exit Sub
    errorhandler:
    MsgBox "Load From click"
    MsgBox Err.Number
    MsgBox Err.Description
    End Sub
    Private Sub LoadFromFile_Click()
    ' Locates a file and sets the Filename to this file.
    On Error GoTo errorhandler
    With CommonDialog1
    .Filter = "*.*"
    .ShowOpen
    fileName = .fileName
    End With
    FileName_Change
    Exit Sub
    errorhandler:
    MsgBox "Load from file"
    MsgBox Err.Number
    MsgBox Err.Description
    End Sub
    Private Sub SaveToDB_Click()
    Dim sSQL As String
    Dim sTempName As String
    On Error GoTo errorhandler
    sTempName = "c:\TEST.DAT"
    Kill sTempName
    PipeToFile sTempName
    sSQL = "Select DATA_ID, DATA_BLOBDATA from TBLTESTBLOB WHERE DATA_ID=" & Val(Text1)
    'sSQL = "Select DATA_Field1, DATA_IMAGE from TBLBIGDATA WHERE DATA_FIELD1=" & Val(Text1)
    Set Rs = Cn.OpenResultset(sSQL, rdOpenKeyset, rdConcurValues)
    If Rs Is Nothing Or Rs.Updatable = False Then
    MsgBox "Cant open or write to result set"
    Exit Sub
    End If
    If Not Rs.EOF Then
    Rs.Edit
    End If
    DataFile = 1
    Open sTempName For Binary Access Read As DataFile
    Fl = LOF(DataFile) ' Length of data in file
    If Fl = 0 Then
    Close DataFile
    Exit Sub
    End If
    Chunks = Fl \ ChunkSize
    Fragment = Fl Mod ChunkSize
    Rs("DATA_BLOBDATA").AppendChunk Null
    ReDim Chunk(Fragment)
    Get DataFile, , Chunk()
    Rs("DATA_BLOBDATA").AppendChunk Chunk()
    ReDim Chunk(ChunkSize)
    For I = 1 To Chunks
    Get DataFile, , Chunk()
    Rs("DATA_BLOBDATA").AppendChunk Chunk()
    Next I
    Close DataFile
    Rs.Update
    Rs.Close
    Set Rs = Nothing
    MsgBox "Finish"
    Exit Sub
    errorhandler:
    MsgBox "Save to DB"
    MsgBox Err.Number
    MsgBox Err.Description
    End Sub
    Private Sub FileName_Change()
    On Error GoTo errorhandler
    Me.OLE1.CreateEmbed fileName
    Exit Sub
    errorhandler:
    MsgBox "File Name Change"
    MsgBox Err.Number
    MsgBox Err.Description
    End Sub
    Justin Cave
    ODBC Development<HR></BLOCKQUOTE>
    null

  • Oracle ODBC Driver adds bind variable when browsing whole table in Access

    Hi, we are looking for some reasons why we may see this behavior in the Oracle ODBC driver (10gR2 and 11g) when using Microsoft Access (2003 or 2007)...
    1) Link a table from the Oracle database.
    2) Double-click the newly linked table to "browse" it.
    Oracle sends the following statement to the server:
    {color:#0000ff}select * from linked_table where primary_key = :b1{color}
    It then proceeds to read the entire table.
    If I tell Microsoft Access that there is no primary key, the query gets sent as:
    {color:#0000ff}select * from linked_table{color}
    And the query comes back as soon as the first 100 or so rows are fetched which is quite quickly.
    ADDITIONAL NOTES:
    1) If the table has a primary key or unique constraint, Microsoft Access automatically assigns that as the primary key.
    2) We can stop the behavior in #1 if we wrap a view around it which prevents Access from discovering that information and then it prompts for a primary key definition.
    3) If we use the Microsoft ODBC driver, the bind variable is not added no matter what the primary key defintiion is.
    We're stumped and are looking for solutions and/or workarounds without having to wrap all of our tables in views to hide the fact that there is a primary key.
    Thanks,
    Steve

    Thanks for the response, Greg.
    The specific question I am seeking an answer for (sorry it was not clear on my first message) is this:
    Why does the Oracle driver add the bind variable to the query only when the primary key is defined?
    The Microsoft ODBC driver does not add the bind variable with or without a primary key defined.
    You asked how I traced this statement and what I am doing is launching the query in Access and then using TOAD to view the V$SESSION and V$SQL_TEXT_WITH_NEWLINES views. All I do is change the driver. This is just for a simple browse table (double-click on the table) which should send
    select * from table
    However, whenever I use the Oracle ODBC driver (with a primary key defined) it sends
    select * from table where primary_key = :1
    If I remove the primary key on the table definition, the Oracle driver sends
    select * from table
    What is it about the primary key that could cause that behavior?
    I don't think it is the MDAC/Jet level because this is the conversion to the native SQL statement not the Jet version. I know the Oracle driver has to do that part because you have those workaround options like don't add the RULE hint, etc. That's not part of the Jet engine.
    Hope that helps. I'm just baffled over this one and wish I knew where to go next.

  • Oracle ODBC error when inserting "end" or "begin"

    I think I may have found a bug in the Oracle ODBC driver....
    I am using version 8.01.73.00 of the Oracle ODBC driver, and my VB application is trying to insert a record into a table using ADO. All works fine, until the user tries to enter the word "end", or "begin" into any of the text (CLOB) fields. The following code shows how I am doing an insert:
    Dim cmd As ADODB.Command
    Set cmd = New ADODB.Command
    cmd.ActiveConnection = "DSN=Envoy;uid=Envoy;pwd=significance;"
    cmd.CommandText = "Insert into Mon_Reading (Creation_User, Creation_Date, Reading_Date, Param_ID, Mon_ID, Value, ApplicableYN, Site_ID, Prev_MEter_Value, MeterResetYN, UOM_ID, LimitsApplicableYN, Lower, Upper, Limit_UOM_ID, ApprovedYN, Comments ) Values ('Matttt', '01-jan-2002', '01-jan-2003', 1, 1, 1., 'Y', 1, 0, 'N', 1, 'N', 0, 0, 0, 'Y', ' end ');"
    cmd.CommandType = adCmdText
    cmd.Execute , , adExecuteNoRecords
    As you can see, the text " end " is being added to the comments field, a CLOB data field. When executed, this causes an Oracle ORA-0911 error (invalid character), and the insert fails.
    Heres the weird thing - if you change the word "end" to anything else apart from "begin" - it will work!!! Also, it only fails if you wrap the "end" in spaces?!!?!! Users that reported this were entering comments like "this is the end of June" - this would have caused the error. If you copy teh failed SQL and paste it into SQLPlus, it executes OK.
    I can only presume this is an Oracle bug. Anyone else have an ideas? What can I do as a workaround?

    First thought would be to grab the updated 8.1.7.x ODBC driver (8.1.7.7 IIRC). Perhaps this problem has already been solved.
    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 ?

  • Oracle ODBC Driver is very slow?

    Hi,
    I installed Oracle8.1.7 on my machine and setted up an odbc connection using
    VC to the database. I created a statement adding records in the database using
    the SQLPrepare and SQLExecute by setting some parameters.
    It takes about 5 seconds to create 100 records! During this the PC is not so buisy.
    Oracle has some of 1% CPU time and my application has lesser than 1% CPU.
    If I look in the oracle trace file, it shows for this statement
    parsing 1 times, executed 100 times, cpu 0,01
    If I try a similar example using PL/SQL it adds 1000 records in one second.
    What I'm doing wrong here and what is the key to get the odbc driver work
    faster?
    I already read the Oracle ODBC documentation and have done all the steps there,
    like disabling the thread safe mode, but without any improvment.
    thanks
    khamis
    [email protected]

    My guess, since I'm not sure exactly what the structure of your program is, is that the slowness of ODBC comes from the fact that ODBC statements are, by default, automatically committed. This means that each time you execute a statement successfully, the database must take additional time to commit the changes, which can be expensive. In PL/SQL, however, the commit operation only occurs when you explicitly commit a statement.
    You can turn off autocommit mode and choose to manage your transactions manually. In straight ODBC, this is an option in the SQLSetConnectAttr function. I'm not sure whether your application is using straight ODBC or some higher-level API, though.
    Justin

  • Want to load excel data into oracle table with out changing it to CSV

    Hello all,
    I have a requirement in dumping excel data into oracle database table without changing it to CSV file and this has to be used in normal sql/plsql environment i.e., pkg/procedure cant be used in the forms also...
    so, can u guys can help me out in this
    thanks.............

    The link Pavan provided discusses Oracle Heterogeneous Services. This allows you (using ODBC) to create a database link from Oracle to a non-Oracle data source like Excel. This would allow you to query the Excel data source from SQL*Plus or any other client tool. But that is probably going to require that your Oracle database is running on Windows since I'm not aware of any Excel ODBC drivers for Unix.
    Another potential option would be to write a Java stored procedure that parsed the file. There are a few different Java libraries that can read and write Excel data files. You could load one of those libraries into the database's JVM and then write Java code that parsed the file. You would then be able to call your Java stored procedure from PL/SQL.
    Justin

  • How to install Oracle ODBC driver...?

    TOM,
    Presently, I have oracle client version. But there no Oracle ODBC driver in my PC. But, I want to install only Oracle ODBC driver in my PC for ODBC Connectivity purpose.
    How to install & where can get the source?

    I found out the real answer!!!
    On another thread there was a link to the client 10g installation. I download that 480Meg monster. Unzipped the package and launced the setup.exe.
    You can then install just the ODBC using the custom option. But, it will not install the tnsnames.ora file. If you have ever done this from a VB app, copy the tsnnames.ora over to the \network\admin folder. It's usually under the oracle\product\client\10.0.2\ folder. Once installed you can launch the ODBC administer either from the link Oracle installs or from the control panel.
    Next, you need to make sure the folders where the .dll file is readable to the iis. Change the folder to add whatever permission group you use for iis (I happen to have setup a local users group {machinename\users}. Add them to the entire folder structure (check the embedded folders to ensure they are readable).
    While setting up the ODBC, the TSN names will now be listed from the tsnnames.ora file (if properly located). To make the connection work, the userid should be 'userid;pwd=password'. Otherwise the connection failed for me.
    Now, if your connection works okay from the odbc test connection, it will probably fail if accessing through iis (like from a .asp page). There are environment path variables that need to be set. Reboot the server for them to get set. Otherwise you will get a ODBC driver can not be loaded do to system error 1114 message.

Maybe you are looking for

  • I can no longer get my videos to work on my ipod, any advice?

    I will get right to the point. I was having numerous crashes and problems the moment I upgraded to itunes 7. So I had no choice but to downgrade back to itunes 6. Well ever since I have done that, my ipod seems to be working better (no crashing, no m

  • Upgrade to Snow Leopard or wait for Lion?

    I'm currently using a first generation Intel iMac (2.0Ghz and 3gb RAM) running Leopard.  It covers 90% of my computer needs as is, but I want to keep it humming along for as long as possible.  I was all set to pull the triger on the Snow Leopard upgr

  • Sales Order saving functionality in ISA

    Hello, We are using CRM 4.0, with ISA b2b/b2c scenario. We are CRM as a standalone system but integrating it with backend legacy systems using sap XI. I have following issue....in standard ISA application, we have an ability to save the order basket

  • Hide Email in Web Gallery

    Hi, I created a web gallery with feedback in Photoshop Cs2 and uploaded into my webpage using Dreamweaver cs3.  What I want is a way (code, script) to hide private email address on the form from viewers but still allow to be emailed.  How do you do t

  • WHT Settings in FBCJ

    Hi Dudes, I want to post the WHT tax transactions directly at the time payment in Cash journal(FBCJ) transactions. Ex: Payment of Stationery expenses Stationery Exp Dr 100 Cash a/c               90 WHT Tax               10 I don't want to route this