9i ODBC access

I am attempting to access an Oracle 9i database located on a Solaris server from an XP client. The server is running Oracle 9i9.2.0.1.0 and the XP is Oracle client 9i 9.2.0.1.0. When I start a listener on the server, the listener starts but I receive a message “The listener supports no services”. I can access the database via SQLPLUS on the client using the Oracle client SQL. I can also access through a telnet SQLPLUS session. When I attempt to access the database in ACCESS using ODBC, I receive an error message:
ODBC – call failed.
Microsoft ODBC driver for Oracle ORA 12514: TNS: listerner could not resolve SERVICE_NAME given in connect descriptor (#12514) Driver’s SQLSetConnectAttr failed IM006 0 (Microsoft) (ODBC Driver Manager) Driver’s SQLSetConnectAttr failed (#)
I realize that Listener.ora and Tnsnames.ora on the client work together. On the server, should I have something comparable?
Also, on other examples I have seen SID used to identify a service, the Oracle client configured as SERVICE_NAME = xxxx rather than SID.
After I can establish this ODBC connection, my ultimate goal is to use dfPower DBMS/Copy on my XP client to load Oracle tables on the server through an ODBC connection.

Hello James,
I only have experience with Oracle 8 on a windows 2000 server, but it looks like the listener on the Solaris server is the cause of your problem. If it supports no services you could have problems when Access tries to connect to the service defined in de tnsnames.ora.
On oracle 7 you could only connect to a instance using the SID. In Oracle 8 you can also connect using the service name.
This what the Oracle 8 documentation says:
"An Oracle database can span multiple instances over multiple computers, making the database service a distributed service.
Prior to Oracle8i, an Oracle database service was identified by an Oracle System Identifier (SID), a name that identifies a specific instance of a database. Clients connected to a database instance by specifying the SID in the connect descriptor. This naming scheme did not distinguish services from instances.
In Oracle8i, a new naming scheme has been implemented. Because an Oracle database can span multiple computers, both the service as a whole and each of its instances are specified.
A database service is now identified by its service name with the SERVICE_NAMES parameter in the initialization parameter file. SERVICE_NAMES specifies the name of the highest-level view of Oracle database service, which can span instances and nodes. SERVICE_NAMES is defaulted to the global database name, a name comprised of the database name (DB_NAME) and domain name (DB_DOMAIN)."
You could try connecting using a SID, but it may not work. I think you should solve the listener problem on the server.
Regards,
Phil

Similar Messages

  • ODBC access to an Oracle DB running on Windows Server 64 bit?

    I'm being told by a company that there is no way to connect via ODBC from my Mac to an Oracle database hosted on a Windows 64 bit server. Does anyone know whether that is true, and if not, what tool or driver one could use to make the connection?
    Thanks,
    ~Andrew

    Fabio D'Alfonso wrote:
    Hi,
    I was setting up VMware vCenter 4.1 (probably the only well known and largely used product with this lethal mix) and needed to setup an ODBC access to Oracle on the 32 bit side of Windows to setup the Update Manager server component, which is still a 32 bit application)
    The problem with Oracle configuration is that in no way I found a 32 bit ODBC registered driver after the setup (of the 32 bit client and the 64 database server). I tried some third party driver for oracle (e.g. easysoft).They registered in the 32 bit ODBC manager but they never got a successful connection.
    Also if this vCenter requirement is questionable (more questionable considering that the setup of this 32 component is not allowed on a 32 separate OS, not because it is separate but because is a 32 bit OS) I would get it working.
    Could suggest a way to get this working?
    Thanks
    Fabio D'AlfonsoWhen you install the Oracle client software on Windows (which is necessary to support ODBC, as the Oracle ODBC driver sits on top of the native client software) the ODBC driver is NOT installed by default. You have to go back and do a "custom" install and select the "Windows components".

  • Can we get ODBC access?

    We are using the data that we collect in the FormsCentral application with a couple other databases on our network. We are simply using FormsCentral as a data collection device and would like to have ODBC access so we don't have to manually export the records as a CSV file. Is this possible?

    That is why I put this in the product enhancement request section. It would
    be nice to have some way to automatically extract the data.

  • CR10 viewer : Error ODBC Access on Windows Vista with multi-JOIN

    Post Author: Stephane
    CA Forum: Data Connectivity and SQL
    Hi all,
    I've got an error using a report in CR10 viewer on Windows Vista + Access 2000 :
    "Echec de l'ouverture d'un jeu de lignes. Détails : 4200:[Microsoft][Pilote ODBC Microsoft Access] Erreur de syntaxe dans la clause FROM."
    wich can be translate :
    "4200:[Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause."
    This error only appear on Vista + Access, not on Vista + SQL and not on XP + Access.
    The SQL query of my report (see details below) contains lots of INNER JOIN and 2 LEFT OUTER JOIN. If I replace those 2 LEFT OUTER JOIN by 2 INNER JOIN, the reports displays (but is wrong).
    Somebody knows this problem?
    Thanks in advance for your help.
    Stephane.
    The SQL query below :
    SELECT    TblDataCurrentValue.`ValDtaId`, TblDataCurrentValue.`ValIdShape`, TblDataCurrentValue.`ValOk`, TblDataCurrentValue.`ValMain`, TblDataCurrentValue.`ValIndex`, TblDataCurrentValue.`ValValue`, TblDataCurrentValue.`ValValueId`,    TblDataLinks.`LnkDtaIdPrimary`,    TblDataValues.`ItmValue`, TblDataValues.`ItmColor`,    TblData.`DtaLabel`,    tblGraphs.`GId`, tblGraphs.`GName`, tblGraphs.`GRef`,    TblShapesGraph.`ShTextShape`FROM    ((((`TblDataCurrentValue` TblDataCurrentValue LEFT OUTER JOIN `TblDataValues` TblDataValues ON        TblDataCurrentValue.`ValValueId` = TblDataValues.`ItmId` AND    TblDataCurrentValue.`ValDtaId` = TblDataValues.`ItmDtaId`)     INNER JOIN `TblData` TblData ON        TblDataCurrentValue.`ValDtaId` = TblData.`DtaId`)     INNER JOIN `tblGraphs` tblGraphs ON        TblDataCurrentValue.`ValIdGraph` = tblGraphs.`GId`)     INNER JOIN `TblShapesGraph` TblShapesGraph ON        TblDataCurrentValue.`ValIdShape` = TblShapesGraph.`ShIdShape`)     LEFT OUTER JOIN `TblDataLinks` TblDataLinks ON        TblDataCurrentValue.`ValDtaId` = TblDataLinks.`LnkDtaId`WHERE    TblDataCurrentValue.`ValOk` <> 0ORDER BY    tblGraphs.`GId` ASC,    TblDataCurrentValue.`ValIdShape` ASC

    Moving back to the 10_2 instant client works. Not certain why there is an issue with the 11_2 client.

  • Update ODBC Access driver Problem??

    I am trying to update fields in a tab pane.I already have add and delete functions working but on Trying upate I get a Microsoft Driver Exception Notice [Microsoft][ODBC Microsoft Driver].Why ??
    Here some code:
    final static String driver = "sun.jdbc.odbc.JdbcOdbcDriver";
    final static String url = "jdbc:odbc:addBKTAFE";
    final static String table2 = "Address";
    String sql = ""; // Used to store sql statements
    int pane_number = 0; // Used to indicate what screen needs to be processed
    //--------------------Start updateRecord()-------------------------------------->>>
    // Update personnel details.
    void updateRecord() {
    try {
    // load MS Access driver
    Class.forName(driver);
    // Setup connection to DBMS
    Connection conn = DriverManager.getConnection(url);
    // Create statement
    Statement stmt = conn.createStatement();
    sql = "UPDATE"+
    table2 +
    "SET "+
    "FirstName ='" + tfFirstName2.getText() + "'," +
    "LastName ='" + tfLastName2.getText() + "'," +
    "Address ='" + tfAddress2.getText() + "'," +
    "City ='" + tfCity2.getText() + "'," +
    "State ='" + tfState2.getText() + "'," +
    "Postcode='" + tfPostcode2.getText() + "'," +
    "Country ='" + tfCountry2.getText() + "'," +
    "EmailAddress='" + tfEmailAddress2.getText() + "'," +
    "HomePhone='" + tfHomeNumber2.getText() + "'," +
    "FaxNumber ='" + tfFaxNumber2.getText() + "'," +
    "WHERE person_id =" + cbPersonId2.getSelectedItem().toString();
    stmt.executeUpdate(sql);
    conn.close();
    JOptionPane.showMessageDialog(null, recupdated,
    information,
    JOptionPane.INFORMATION_MESSAGE);
    } catch (Exception ex) {
    JOptionPane.showMessageDialog(null,
    ex.getMessage() + ex.toString(),
    genexception,
    JOptionPane.INFORMATION_MESSAGE);
    //--------------------End updateRecord()---------------------------------------->>>

    I would suggest the following put in
    System.out.println(sql);
    right after the creation of the statement to look at it when it is complete.
    It is hard to see any other errors the way it appears in the forum.
    You can then copy it and try it exactly the way it is in assess and see if it
    works there.
    This may help find the problem.
    You can put in the following statement to see the sql logging.
    Note I have never tried it - it may show you the problem.
    java.sql.DriverManager.setLogStream(java.lang.System.out);
    Two other things - as I do not use access the comma is not
    standard in SQL.
    - what is in the fEmailAddress2 - is there any special
    characters that may be causing a problem - try i
    with blank field.
    rykk

  • DRIVER ODBC - ACCESS ERROR "WRITE CONFLICT" on numeric format

    Hello
    We have an Oracle (Oracle 10g) table with a NUMBER(15,2) column
    We try to update it with Access 97 (we use the oracle odbc driver 10.2.0.1) and for some records it works, and for other we have the "write conflict" error.
    See the example below :
    SQL> desc test_number
    Name Null? Type
    CLE_X NOT NULL VARCHAR2(5)
    NUM_01 NUMBER(15,2)
    TXT_COMMENT VARCHAR2(30)
    SQL>
    insert into test_number values ('VAL1', 123.45, 'Ligne OK');
    insert into test_number values ('VAL2', 3456.78, 'Ligne OK');
    insert into test_number values ('VAL3', 1345.37, 'Ligne NOT OK');
    insert into test_number values ('VAL4', 1345.38, 'Ligne OK');
    commit;
    => The update with Access does not work with the 3rd record (1345.37) but there is no issue with the other records.
    Could you please help ? Is it due to the driver ?
    Remark : the problem does not appear with the Microsoft odbc driver.
    Thanks

    I don't know the internals of ODBC, but I'm having this problem only with the Microsoft driver. I neither had it with PostgreSQL, SQL Anywhere or FreeTDS.
    The unixODBC documentation is not very well maintained or consistent. Once it's written that data sources are read from ODBCINI + /.odbc.ini, at another part it says ODBCINI itself must by a full path to a file. http://www.unixodbc.org/internals.html doesn't
    give much more details. And actually, having a full path in ODBCINI does work (as soon as this file is writable), whereas specifying only the directory does not.
    It seems drivers are doing part of the job on its own and therefor they behave differently?

  • Odbc access-xp  from oracle 9i

    om the moment we have oracle 7.3.4 and we connect with msaccess via an odbc driver ORACLE73 Ver 3.5
    next month we get oracle 9i, but how can we connect msacces to that tables? right now connection to test-databases dont work.

    Which client do you have installed?
    I didn't have problems using either the MS ODBC client or the Oracle ODBC client from MS Windows XP Pro (8i client connecting to an 8i server; 9i client connecting to a 9i or 10g server). Linking Access 2002/2003 tables using the 10g client to a 10g server is not working, however; I get "#DELETED" instead of data in the cells.

  • Windows 7 Enterprise with Visual Studio 2008 and 32 bit ODBC access

    I have a 32 bit ODBC used to access Progress databases. We have to use the 32 bit driver.   My development had been run on XP in the past with no issues.  I have moved to a Windows 7 Enterprise workstation currently and cannot access
    through my app. The ODBC was installed as 32 bit through the SysWow64\odbcca32.exe with no issues.  I have tried to run my app with the x86 option but it still does not see the ODBC.  I went in and created a fake ODBC in the 64 bit interface
    and the app did see that ODBC so the app is running in 64 bit mode.  How can I force this app to run as 32 bit on my machine?  Thanks in advance. 

    Hi,
    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    For your issue how to force the app to run as 32bit, if you are working with Windows Forms app. please consult on Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If you are working with WPF app, please consult on WPF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
    If you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    If the app is a C++ win32 app, please consult on Visual C++ forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vcgeneral
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ODBC & Access on different computer

    Hi
    I've got a slightly annoying problem. I have an access database, which is read by a vi which I have created. This works perfectly on my laptop. However I have then moved the database and vi over to another PC. I have created a new dsn linked to the database, and if i test the connection in the ODBC dialog it says 'test succesful'. However when I run the vi it doesn't extract any data from the database and doesn't report any errors.
    Help would be much appreciated as this is driving me mad!!!
    Cheers
    Dave

    Hi
    I'm using the database connectivity toolkit and SQL queries to extract the data. The database I'm using on the desktop is a copy of the one off the laptop, I've opened it in access on the desktop and the data is there and I can edit it.
    I've attached the vi I am using.
    Cheers
    Dave
    Attachments:
    HM Query Full.vi ‏105 KB

  • Forte & ODBC Access Database

    We are looking to deploy Forte to Win 3.11 and Win95 users. We are
    using Access database tables to hold data cache locally, rather than
    pull it across the wire.
    We have ODBC drivers for Win95 but are going to get 16bit 3.11 drivers
    from VB v4.
    Has anyone else tried this and if so, are there any pitfalls or helpfull
    hints.
    Thanks in advance.
    Michae Strauss
    Mazda Australia Pty Limited

    Duncan,
    Just put the column in double quotes.
    Example:
    sql SELECT
    ,ipool.id
    ,asgn."Assignment Date"
    ,asgn.router
    ,asgn."Order Number"
    FROM assigned_ips addr
    ,assignments asgn
    WHERE
    addr.id = asgn.Assigned_IP
    AND asgn.master_ip = mpool.id
    AND mpool.ip_pool = ipool.id
    AND ipool.ncc = ncc.id
    ORDER BY addr.id
    on session accessDbSession
    At 09:31 AM 6/17/99 +1200, you wrote:
    Hi folks!
    Does anyone know if there is some way to reference Micosoft Access
    database columns that contain spaces using Forte and ODBC?
    I know it's like trying to use a jet plane to go down to the high street,but
    we want to extend a (large) in-house system with a good Forte front-end.
    I am aware that there are utilities available to rename entities within
    Access databases, but if there is an easy way to do this in Forte we'd
    prefer to go that way.
    Cheers,
    Duncan Kinnear,
    McCarthy and Associates, Email: [email protected]
    PO Box 764, McLean Towers, Phone: +64 6 834 3360
    Shakespeare Road, Napier, New Zealand. Fax: +64 6 834 3369
    Providing Integrated Software to the Meat Processing Industry for over 10years
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Connection to ODBC access database failure

    I have made several sites using ACCESS databases via ODBC DSN
    name. But suddenly it does not work any more. I can not use the
    Database wizards in DM 8.02. When I have made a connection, tested
    it OK and I try to se the tables/views. I only got the word "none".
    If I in the advanced recordset wizard write the SQL command, the
    data is showen correctly!!???
    There is something wrong with DM's abillitry to connect to
    the ODBC DNS name...Everything is updateted to the latest version.
    Is there anybody who have any clue to what could be wrong. It
    is the same story on an old 2000 Server, a new 2003 small busines
    server and from DM installed on two different clientmaschines and
    on the two servers.

    Hi!
    You could try this It worked for me on all my connections.
    I found a extension called SP2DBFix1.0.2.mxp
    Down load here,
    http://download.macromedia.com/pub/dreamweaver/extensions/SP2DBFix1.0.2.mxp
    to fix a XP pro service pack2 connections.
    To fix: I went to Sites/Advanced/Remove connection Scripts,
    ran that removed
    my
    connection scripts. I then shut down Dreamweaver 8 installed
    the extension
    then opened dreamweaver 8 made a new connection and it works
    now Great! Im
    happy.
    You have to run this same routine on every site you have
    setup with
    connection scripts
    Good Luck.
    Dave
    "JOhnny Odgaard" <[email protected]> wrote
    in message
    news:ersvva$2hd$[email protected]..
    > I have made several sites using ACCESS databases via
    ODBC DSN name. But
    > suddenly it does not work any more. I can not use the
    Database wizards in
    DM
    > 8.02. When I have made a connection, tested it OK and I
    try to se the
    > tables/views. I only got the word "none". If I in the
    advanced recordset
    wizard
    > write the SQL command, the data is showen correctly!!???
    >
    > There is something wrong with DM's abillitry to connect
    to the ODBC DNS
    > name...Everything is updateted to the latest version.
    >
    > Is there anybody who have any clue to what could be
    wrong. It is the same
    > story on an old 2000 Server, a new 2003 small busines
    server and from DM
    > installed on two different clientmaschines and on the
    two servers.
    >

  • After conecting to SQLexpress 2008r2 using ODBC, access 2003 and 2010 says conection failed.

    After conecting to SQLexpress using ODBC MS access 2003 and 2010 says the conection failed with in the app. Not all users are having this issue. Unable to track down the cause. Any help would would be appearated.    

    With the miniscule of information you have given, it's not really possible to help you. At a very minimum, we need the complete error message you are getting, so that we can tell whether the reach the server and are denied access, or they don't even
    come that far.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • ODBC access to LMS DB doesn't work

    I have an application that returns 'provider not found' when trying to connect to the 'CiscoWorks embedded database'.
    The dbodbc10.dll files were copied over from the LMS server and registry entries made per the manual.
    The system Dsn was set up and tested fine in Data Sources (ODBC)
    Is there a utility somewhere in the LMS distribution that registers the provider so it can be found by apps?
    Thank you
    Mike Whiteley

    Depending on OS and LMS versions you may be running into CSCto44917.

  • ODBC Access Violations with Ora 8.1.6 install

    Hi - we have updated to Oracle 8.1.6 (ODBC 6.1.6.2) and now find regular instability using ODBC. Given the following stack traces can anyone see what may causing this..The exceptions we trace seem to originate from SQLExecute...
    Exampe 1.
    NTDLL! 77f9f9df()
    NTDLL! 77fa6ee1()
    NTDLL! 77fb3385()
    NTDLL! 77fa6b46()
    NTDLL! 77fcac04()
    MSVCRT! 78001e97()
    ORANL8! 60a083d1()
    ORANL8! 60a082cd()
    ORANL8! 60a16232()
    ORAGENERIC8! 600bdbc7()
    ORAGENERIC8! 6009499a()
    ORACLIENT8! 60419d2b()
    ORACLIENT8! 60419971()
    ORACLIENT8! 60445a4e()
    ORACLIENT8! 6044540d()
    ORACLIENT8! 604012ac()
    OCI! 1000d4c7()
    SQORA32! 04c1467b()
    007a1370()
    Example 2.
    NTDLL! 77f9f9df()
    NTDLL! 77fcc779()
    NTDLL! 77f87aa3()
    NTDLL! 77fb3c33()
    NTDLL! 77fa7131()
    NTDLL! 77fca4cb()
    MSVCRT! 7800113d()
    ORACORE8! 6064e5b1()
    ORATRACE8! 6271513b()
    Example 3.
    NTDLL! 77f9f9df()
    NTDLL! 77fa6ee1()
    NTDLL! 77fb3385()
    NTDLL! 77fa6b46()
    NTDLL! 77fcac04()
    MSVCRT! 78001089()
    MSVCRT! 78001026()
    ORAGENERIC8! 600dd4d1()
    ORACLIENT8! 604455fc()
    ORACLIENT8! 6044540d()
    ORACLIENT8! 604012ac()
    OCI! 1000d4c7()
    SQORA32! 04c1467b()
    In addition to these problems we find that a DB connection is taking ~15 seconds with ODBC or SQLPlus on a local machine. This seems to indicate something is wrong - but what? Could the same problem be related (cause?) the ODBC crashes?
    To install 8.1.6 we had to manually de-install 8.1.5 since the Oracle installer frooze on every attempt to deinstall 8.1.5. We have reinstalled 8.1.6 twice (last attempt following Oracles manual deinstall procedure). When we saw instability with 8.1.6 we installed 8.1.6.1.1 to no avail.
    At this point we have spent days trying to recover from the 8.1.6 install. Is it likely to help if we simply reformat the disk and reinstall ORacle again? This will be very time consuming since we will loose everything on the machine but is beginning to seem like the only way to recover any stability.
    Basic question is :- Is our Oracle environment install flawed or is the instability just due to bugs in Oracle 8.1.6. Our test suite worked fine with 8.1.5.
    Thanks David M
    null

    Well we have more info on this. It appears that executing stored procs with output params may be a problem..
    The previous post was run on Win 2000 with Ora 8.1.6 and ODBC 8.1.6.2.
    We Installed 8.1.6 and ODBC 8.1.6.2 on an NT SP6 machine and got the following Dr Watson..
    This machine is not exhibiting the slow connection times and it appears to be a reliable Oracle install.
    The error hints occuring during the freeing of an OCI Handle..
    function: RtlpWaitForCriticalSection
    77f6ce28 e920010000 jmp RtlpWaitForCriticalSection+0x196 (77f6cf4d)
    77f6ce2d 803d987ffa7701 ds:77fa7f98=01
    cmp byte ptr [fltused+0x12a8 (77fa7f98)],0x1
    77f6ce34 1bc0 sbb eax,eax
    77f6ce36 25e080fa77 and eax,0x77fa80e0
    77f6ce3b 837e1000 cmp dword ptr [esi+0x10],0x0 ds:02428076=????????
    77f6ce3f 8945fc mov [ebp-0x4],eax ss:02c1850e=????????
    77f6ce42 7506 jnz RtlpWaitForCriticalSection+0x93 (77f6ce4a)
    77f6ce44 56 push esi
    77f6ce45 e8b6fdffff call RtlSetCriticalSectionSpinCount+0x70 (77f6cc00)
    77f6ce4a 8b06 mov eax,[esi] ds:007d9670=20202020
    FAULT ->77f6ce4c ff4010 inc dword ptr [eax+0x10] ds:21e50a26=????????
    77f6ce4f 8b06 mov eax,[esi] ds:007d9670=20202020
    77f6ce51 ff75fc push dword ptr [ebp-0x4] ss:02c1850e=????????
    77f6ce54 6a00 push 0x0
    77f6ce56 ff4014 inc dword ptr [eax+0x14] ds:21e50a26=????????
    77f6ce59 ff7610 push dword ptr [esi+0x10] ds:02428076=????????
    77f6ce5c e86fb4ffff call NtWaitForSingleObject (77f682d0)
    77f6ce61 3d02010000 cmp eax,0x102
    77f6ce66 0f85b2000000 jne RtlpWaitForCriticalSection+0x167 (77f6cf1e)
    77f6ce6c 57 push edi
    77f6ce6d 6822cdf677 push 0x77f6cd22
    77f6ce72 e881940000 call DbgPrint (77f762f8)
    ----> Stack Back Trace <----
    FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    00fc9b08 77f67586 007d9670 6064cf31 007d9670 00b51300 ntdll!RtlpWaitForCriticalSection
    00fc9b20 604435e2 007d0010 00b5131c 01082e20 01081020 ntdll!RtlEnterCriticalSection
    00fc9d70 6040120a 00000001 00000007 00fc9d90 1000589f oraclient8!kpufhndl
    00fc9d80 1000589f 00b51300 00000007 00fc9e24 04c14c88 oraclient8!OCIHandleFree
    The Stored Procedure -
    CREATE PROCEDURE SP_StoredProcedureAllTypes (in_int integer, in_char char, in_vchar varchar2, in_date date, in_date1 date, in_dec number, in_double number, out_int out integer, out_char out char, out_vchar out varchar2,out_date out date,out_date1 out date,out_dec out number, out_double out number ) is
    begin out_int := in_int; out_char := in_char; out_vchar := in_vchar; out_date := in_date; out_date1 := in_date1; out_dec := in_dec; out_double := in_double;
    end;
    The ODBC API trace :-
    JDataServer -s da-42 EXIT SQLPrepare with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UCHAR * 0x007DB1C0 [ 75] "{call SP_StoredProcedureAllTypes(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}"
    SDWORD 75
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 4 <SQL_INTEGER>
    SQLULEN 0
    SWORD 0
    PTR 0x007DD650
    SQLLEN 2
    SQLLEN * 0x00BAC360
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 1
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 4 <SQL_INTEGER>
    SQLULEN 0
    SWORD 0
    PTR 0x007DD650
    SQLLEN 2
    SQLLEN * 0x00BAC360 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 2
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 1 <SQL_CHAR>
    SQLULEN 4
    SWORD 0
    PTR 0x007DD630
    SQLLEN 4
    SQLLEN * 0x00BAC370
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 2
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 1 <SQL_CHAR>
    SQLULEN 4
    SWORD 0
    PTR 0x007DD630
    SQLLEN 4
    SQLLEN * 0x00BAC370 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 3
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 1 <SQL_CHAR>
    SQLULEN 4
    SWORD 0
    PTR 0x007DD610
    SQLLEN 4
    SQLLEN * 0x00BAC380
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 3
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 1 <SQL_CHAR>
    SQLULEN 4
    SWORD 0
    PTR 0x007DD610
    SQLLEN 4
    SQLLEN * 0x00BAC380 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 4
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 11 <SQL_C_TIMESTAMP>
    SWORD 11 <SQL_TIMESTAMP>
    SQLULEN 0
    SWORD 0
    PTR 0x007DD5E0
    SQLLEN 23
    SQLLEN * 0x00BAC390
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 4
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 11 <SQL_C_TIMESTAMP>
    SWORD 11 <SQL_TIMESTAMP>
    SQLULEN 0
    SWORD 0
    PTR 0x007DD5E0
    SQLLEN 23
    SQLLEN * 0x00BAC390 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 5
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 9 <SQL_C_DATE>
    SWORD 11 <SQL_TIMESTAMP>
    SQLULEN 0
    SWORD 0
    PTR 0x007DD5C0
    SQLLEN 10
    SQLLEN * 0x00BAC3A0
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 5
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 9 <SQL_C_DATE>
    SWORD 11 <SQL_TIMESTAMP>
    SQLULEN 0
    SWORD 0
    PTR 0x007DD5C0
    SQLLEN 10
    SQLLEN * 0x00BAC3A0 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 6
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 3 <SQL_DECIMAL>
    SQLULEN 6
    SWORD 2
    PTR 0x007DD5A0
    SQLLEN 6
    SQLLEN * 0x00BAC3B0
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 6
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 3 <SQL_DECIMAL>
    SQLULEN 6
    SWORD 2
    PTR 0x007DD5A0
    SQLLEN 6
    SQLLEN * 0x00BAC3B0 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 7
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 8 <SQL_DOUBLE>
    SQLULEN 0
    SWORD 0
    PTR 0x007DD580
    SQLLEN 7
    SQLLEN * 0x00BAC3C0
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 7
    SWORD 1 <SQL_PARAM_INPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 8 <SQL_DOUBLE>
    SQLULEN 0
    SWORD 0
    PTR 0x007DD580
    SQLLEN 7
    SQLLEN * 0x00BAC3C0 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 8
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 4 <SQL_INTEGER>
    SQLULEN 255
    SWORD 0
    PTR 0x007DB100
    SQLLEN 257
    SQLLEN * 0x00BAC3D0
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 8
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 4 <SQL_INTEGER>
    SQLULEN 255
    SWORD 0
    PTR 0x007DB100
    SQLLEN 257
    SQLLEN * 0x00BAC3D0 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 9
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 1 <SQL_CHAR>
    SQLULEN 255
    SWORD 0
    PTR 0x007DA940
    SQLLEN 257
    SQLLEN * 0x00BAC3E0
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 9
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 1 <SQL_CHAR>
    SQLULEN 255
    SWORD 0
    PTR 0x007DA940
    SQLLEN 257
    SQLLEN * 0x00BAC3E0 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 10
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 12 <SQL_VARCHAR>
    SQLULEN 255
    SWORD 0
    PTR 0x007DA820
    SQLLEN 257
    SQLLEN * 0x00BAC3F0
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 10
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 12 <SQL_VARCHAR>
    SQLULEN 255
    SWORD 0
    PTR 0x007DA820
    SQLLEN 257
    SQLLEN * 0x00BAC3F0 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 11
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 11 <SQL_C_TIMESTAMP>
    SWORD 11 <SQL_TIMESTAMP>
    SQLULEN 255
    SWORD 0
    PTR 0x007DE810
    SQLLEN 257
    SQLLEN * 0x00BAC400
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 11
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 11 <SQL_C_TIMESTAMP>
    SWORD 11 <SQL_TIMESTAMP>
    SQLULEN 255
    SWORD 0
    PTR 0x007DE810
    SQLLEN 257
    SQLLEN * 0x00BAC400 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 12
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 9 <SQL_C_DATE>
    SWORD 11 <SQL_TIMESTAMP>
    SQLULEN 255
    SWORD 0
    PTR 0x007DE6F0
    SQLLEN 257
    SQLLEN * 0x00BAC410
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 12
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 9 <SQL_C_DATE>
    SWORD 11 <SQL_TIMESTAMP>
    SQLULEN 255
    SWORD 0
    PTR 0x007DE6F0
    SQLLEN 257
    SQLLEN * 0x00BAC410 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 13
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 3 <SQL_DECIMAL>
    SQLULEN 1
    SWORD 0
    PTR 0x007DE5D0
    SQLLEN 257
    SQLLEN * 0x00BAC420
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 13
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 3 <SQL_DECIMAL>
    SQLULEN 1
    SWORD 0
    PTR 0x007DE5D0
    SQLLEN 257
    SQLLEN * 0x00BAC420 (0)
    JDataServer -s da-42 ENTER SQLBindParameter
    HSTMT 008E2400
    UWORD 14
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 8 <SQL_DOUBLE>
    SQLULEN 255
    SWORD 0
    PTR 0x007DE4B0
    SQLLEN 257
    SQLLEN * 0x00BAC430
    JDataServer -s da-42 EXIT SQLBindParameter with return code 0 (SQL_SUCCESS)
    HSTMT 008E2400
    UWORD 14
    SWORD 4 <SQL_PARAM_OUTPUT>
    SWORD 1 <SQL_C_CHAR>
    SWORD 8 <SQL_DOUBLE>
    SQLULEN 255
    SWORD 0
    PTR 0x007DE4B0
    SQLLEN 257
    SQLLEN * 0x00BAC430 (0)
    JDataServer -s da-42 ENTER SQLExecute
    HSTMT 008E2400
    **** Crashes here ********
    null

  • Perl DBI and ODBC Access to Oracle

    I am trying to communicate with an Oracle database from a Debian Linux system.
    I have looked through much documentation of various vintages, on how to achieve this, but I am still unclear about what I need.
    I have the iODBC stuff, but this seems to need a "driver". Most references to drivers seem to need something from the Oracle distribution - typically header files or "oracle.mk"
    Can anyone point me to an open source or downloadable driver, or help me to identify a way of downloading the necessary bits of Oracle to permit a driver to be built.
    Thanks, (in hope),
    Dave Whiteley

    Re the reply below,
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by gv ():
    you need two things:
    the DBI package (interface)
    the DBD package (driver)
    you can find both on CPAN
    <HR></BLOCKQUOTE>
    Things are not as simple as indicated. To install the DBD package you MUST have an environmental variable ORACLE_HOME set up and pointing at an Oracle installation. It reads some of the files there in order to install itself.
    This means that to install DBD:Oracle you need to first install Oracle... Unless, someone knows which files are necessary for the install, and they are legally availablke without breaking the Oracle license.
    I have sucessfully installed DBD:Oracle in this way (at least, I can communicate with a remote server).
    There are similar issues with DBD:ODBC.
    This installs easily, however, as I understand the situation, it needs to communicate with other local "driver" software in order to contact the remote server. I I have not yet sucessfully installed and used this "driver" software. Again this seems to require a lcal Oracle installation.
    The driver software consists of a driver manager, and the driver itself. Different people distribute different versions of these and the documentation available has confused me - perhaps some of it is out of date?
    Up to now I am working on a lightly loaded machine with space. I will need to set up the working system on another more heavily loaded machine. I do not want to have to Install Oracle on that. I will never use it. It will only be there to permit installation of the Perl DBD stuff.
    Hints and advice welcome.
    Dave

Maybe you are looking for

  • Need to convert an image to .jpeg using Java !

    Hello, i am working in images now. i need to convert any image in the form of .jpeg using Java. in other words, i need to store an image in the form of .jpeg format. can any of u help me ! thanks in advance. - Krishna

  • How can I download free apps without a credit card or paypal

    I need to reinstall some free apps and I don't have a credit card now or paypal. How can I do it

  • Process flow errors while deploying

    Hi all, The following error occurs while deploying a simple process: RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link CF.US.ORACLE.COM@WB_LK_F_IMP_BB. Please check that "EXECUTE ANY PROCEDURE" privileg

  • How to make a new window open smaller?

    I think I have done this before and thought it was an action, but now can't figure it out.  I want to click a link and have it open up a smaller, overlapping pop-up window.  How do I do that? Thanks,

  • Avi files not imported

    my older imac only imports photos, not avi files. on another intel imac, both photos and avi files import without any problem. any ideas? all software updates, iphoto, and OS are the same.