Frm-40375 and ora-306500 with ODBC connection

Hi experts,
I am getting frm-40375 , ora-306500 when clicking a button on form , the code behind the button is actually connecting to a database other than oracle using the ODBC connection and importing data in variables and than inserting in an oracle table.
The error only appears on other PCs and not on my pc , means there is no problem in the code and is working fine on my pc (importing the desired data when using my pc).
The question is what is missing on other PCs or in other words what is additional component in my PC.
Please tell when and why this ora-306500 occurs.
Hope I defined the problem correctly.
(the following is part of the code
connection_string:='user/pass123@ODBC:abcd123';
     connection_id := EXEC_SQL.OPEN_CONNECTION(connection_string);
     cursorID := EXEC_SQL.OPEN_CURSOR(connection_id);
Using Oracle 9i Database
and 6i Forms
Thanks in advance
Edited by: zulfffi on Jun 29, 2010 11:08 PM

ora-306500I seriously doubt this is actual error code.
AFAIK - Oracle errors have not yet reached 6 decimal places.
please use COPY & PASTE in the future

Similar Messages

  • Form with view having instead-of-trigger gives FRM-40501 and ORA-02014

    I created a data-entry from with a 'view' as datas-source block. This view gives crosstab query results with a data from a single base-table but it is complex and uses decode and aggregate funciton 'max' just to create group by in a crosstab query. I have created a instead of trigger on this view to update or insert a record in base table. A test to update base table works fine at SQl prompt. A test to insert at SQL shows '1 row created' but in fact when I query the database, it does not show newly inserted row. Also, when I compile and run this form, I get FRM-40501 and ORA-02014. Help!!!
    I know that DML operations on a view with DECODE, aggregate functions or group by can not be performed but I thought the "instead of" trigger on the view to update the base table should eleminate this restriction and hence pusued further but now stuck!
    BTW: I can post details of base table, view, and instead of trigger, if you want to see them to further decipher the problem. Just let me know. Thanks!
    VERSIONS: Forms in developer suite v10.1.2.0.2 on Windows XP 64 bit desktop - ; Backend database: 9.2.0.8 on Windows 2003 EE server
    Edited by: user8647268 on Aug 19, 2009 1:19 PM
    Edited by: user8647268 on Aug 19, 2009 1:25 PM

    I just forgot to ask you one question: In my experience with forms, I have captured before_value and after_value and implemented logic based on results many times. This form I am working on is kinda first multi-record form where I have a tabular page with date and about 7 other columns forming a grid of cells, which users wanted. Each line is a record from a view. I tried relying on forms to do DML on underlying table and since the underlying table is a paritioned table, I ran into FRM-40509 and ORA-00936, where returning ROWID becomes problematic. I found a note 167550.1 which says to set Key mode to 'Updateable' or 'Non-Updateable' but not 'Unique' or 'Automatic' as a solution #1. Solution#1 failed i.e. the errors persisted. The note also says in that case, implement Solution #2, which is to write explicit trigger to do each of the DML on view. Here I run into kinda problem: In a tabular form with say 31 records each row having 7 cells which is like capturing 217 before values..that is too many. Addressing them with ':old.xxx' or ':new.xxx' which works in instead of trigger, does not work in trigger inside forms. Without checking these before and after values, it inserts rows with nulls for empty cells where we wnated it to skip and do nothing. So iam looking for a way to capture before value using some kinda standard form mechanism..Do you have any suggestions! (Sorry for long explanation but that is the only way to do it..)

  • TS1591 i just got an ihome system and had trouble with it connecting to my iPhone.  I finally got it to work and now my itunes doesn't recognize my phone.  My software is up to date on both my Mac and my iPhone and I have shut everything down and restarte

    i just got an ihome system and had trouble with it connecting to my iPhone.  I finally got it to work and now my itunes doesn't recognize my phone.  My software is up to date on both my Mac and my iPhone and I have shut everything down and restarted.  Does anyone have any other suggestions?

    Let's try a standalone Apple Mobile Device Support install. It still might not install, but fingers crossed any error messages will give us a better idea of the underlying cause of why it's not installing under normal conditions.
    Download and save a copy of the iTunesSetup.exe (or iTunes64setup.exe) installer file to your hard drive:
    http://www.apple.com/itunes/download/
    Download and install the free trial version of WinRAR:
    http://www.rarlab.com/
    Right-click the iTunesSetup.exe (or iTunes64setup.exe), and select "Extract to iTunesSetup" (or "Extract to iTunes64Setup"). WinRAR will expand the contents of the file into a folder called "iTunesSetup" (or "iTunes64Setup").
    Go into the folder and doubleclick the AppleMobileDeviceSupport.msi (or AppleMobileDeviceSupport64.msi) to do a standalone AMDS install.
    (If it offers you the choice to remove or repair, choose "Remove", and if the uninstall goes through successfully, see if you can reinstall by doubleclicking the AppleMobileDeviceSupport.msi again.)
    Does it install (or uninstall and then reinstall) properly for you? If so, can you get a normal iTunes install to go through properly now?
    If instead you get an error message during the install (or uninstall), let us know what it says. (Precise text, please.)

  • Multi Value Parameter with ODBC Connection

    Hi Everyone . . .
    I am stuck, and have been since Monday :/ . . .
    Backgroud:
    I am using Report Builder 3.0 with an ODBC connection to build reports off of our Vertica DB.  This part is going swimmingly, thanks to the help I recieved from this forum.
    Now, some of the queries that I am using (or reports I guess) require parameters.  I was attempting the @Parameter and quickly realized this was not possible with the ODBC connection.  I have solved this issue by using the ? as the parameter. 
    Works nicely, not as clean, but serves the purpose.
    Most, all of my parameters to this point have been single value parameters.  Now, however, we are dabbling in allowing our report users to select multiple Users as a parameter.  This is where I am stuck...
    I have flipped the parameter checkbox to "Allow multiple values", I then recieved an error saying this: 
    Cannot add multi value query parameter 'UserName' for dataset 'RankingQuery' because it is not supported by the data extension.
    Here is what I have done:  I have gone to the Dataset properties for the appropriate query that the parameter is being fed into > then to the Parameters tab.  In the Parameters tab instead of selecting the @UserName parameter from the drop down
    I clicked the Fx buttone and inserted the UserName Parameter from there it looks like this: =Parameters!UserName.Value(0)
    Now because of this last step my report runs without error, however, when I select multiple user names from the parameter drop down I only recieve data for the first person selected in that drop down.
    Am I missing something?  Does anyone know how to fix this?  Please help!
    Thanks everyone.
    Travis

    Hi There
    Thanks for your posting. Can you please try this way? Go to your dataset properties and then go to filter tab and add filter like this
    Please choose your dataset filed name from the dataset in which you would like to apply the filter for your parameter
    UserName
    Put operator=in 
    And please put value like= Parameters!UserName.Value
    Please do not put Parameters!UserName.Value(0)
    I hope this will resolve your problem
    Many thanks
    Syed

  • ORA-12519 with servlet connect

    Hi,
    I'm facing a strange behaviour on my tomcat webserver with a servlet. I'm using Oracle 10g as the database and try to access it with my servlet.
    The doPost-method throws the following exception while trying to establish the connection to the RDBMS:
    "SQLException:
    Connecting not possible:
    Listener refused the connection with the following error:
    ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: localhost:1521:DBTEN"
    After starting my servlet, the connection to the database for other applications blocks with the same error message
    for a few minutes. After these few minutes connecting to the database is possible again!!! Restarting the database and the listener also helps...
    public void doPost( HttpServletRequest request, HttpServletResponse response ) throws IOException, ServletException {
    Connection conn = null;
    response.setContentType( "text/html" );
    PrintWriter out = response.getWriter();
    String connStr = "jdbc:oracle:thin:@localhost:1521:DBTEN";
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    }catch( ClassNotFoundException cnf ){
    out.println( "CNFException: "+cnf.getMessage() );
    //retrieve Connection
    try{
    conn = DriverManager.getConnection( connStr, "scott", "tiger" );
    }catch( SQLException sqle ){
    out.println( "SQLException: <BR> Connecting not possible: <BR> "+sqle.getMessage()+"<BR>" );
    When I put that part in a 'normal' main program everything is ok. I can connect to the database and access tables with select statements and everything is ok.
    public static void main(String[] args) {
    Connection conn = null;
    //retrieve Connection
    try{
    String connStr = "jdbc:oracle:thin:@localhost:1521:DBTEN";
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    }catch(ClassNotFoundException cnf){
    System.out.println( "CNFException: "+cnf.getMessage() );
    conn = DriverManager.getConnection( connStr, "scott", "tiger" );
    }catch( SQLException sqle ){
    System.out.println( "SQLException:"+sqle.getMessage() );
    Does anyone have an idea what the problem is in this case?
    Regards,
    Lars

    "Note: The use of the DriverManager class to establish a connection to a database is deprecated." --
    http://download-uk.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25320/getconn.htm
    To open a connection use something like this:
    OracleDataSource ods = new OracleDataSource();
    ods.setUser("username");
    ods.setPassword("password");
    ods.setURL("jdbc:oracle:thin:@localhost:1521:XE");
    ods.getConnection();
    Instead of this:
    Class.forName("oracle.jdbc.OracleDriver");
    DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE", "username", "password");

  • Data Guard Broker: errors ORA-16816 and ORA-16817 with Fast Start Failover

    Hi,
    my environment is:
    OS: Windows XP Professional Edition SP2
    DB: Oracle EE 10.2.0.3
    Primary db: orcl
    Standby db: stby
    both databases are running on the same server.
    I have configured Data Guard as described in the DG Administration Guide.
    In the Data Guard Broker I switch to 'stby' succesfully and 'stby' is the primary db and 'orcl' is the standby db.
    I switched back to 'orcl' as primary db and I get some errors:
    DGMGRL> show database 'orcl' statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
    DGMGRL> show database 'stby' statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * ERROR ORA-16816: wrong databaserole
    * WARNING ORA-16817: configuration for Fast Start of Failover is not synchronized.
    DGMGRL> show configuration;
    Configuration
    Name: DG1
    Enabled: YES
    Protection Mode: MaxAvailability
    Fast-Start Failover: ENABLED
    Databases:
    orcl - Physical standby database
    - Fast-Start Failover target
    stby - Primary database
    Current status for DG1:
    Warning: ORA-16607: one or more databases failed.
    I have searched for solutions on Metalink and google, but with no success.
    Has anyone got this kind of problem?
    Any suggestions on how to resolve it?
    Thanks

    Hi DigerDBA
    I did your advice , the error disappear, and thanks for your advice , but do I need to keep standby_file_management='AUTO' or 'MANUAL' in primary and standby init files?
    Am asking this because when I use the observer the failover failed and I get the following error
    SQL Execution error=604, sql=[ALTER DATABASE COMMIT TO SWITCHOVER TO PRIMARY WAIT WITH SESSION SHUTDOWN]. See error stack below.
      ORA-00604: error occurred at recursive SQL level 1
      ORA-01275: Operation ADD LOGFILE is not allowed if standby file management is automatic.
    Complete Failover operation failed in the step when attempting to convert the database to be the new primary.
    Database Resource SetState Error (16771)
    01/07/2014 09:14:43
    Command FAILOVER TO epprod2 completed with error ORA-16771
    if possible can you advice me please?

  • Package with ODBC connection

    I have a program that uses a ODBC connection. Before running App-V sequencer, I added a Dummy ODBC User/System connection and during the monitoring sequence, I created the actual ODBC System connection to the SQL database. At the end, when I run the program,
    it seems to work fine from my Windows 7 base sequence machine. However, when I publish in App-V, it does not open properly from that server (2008R2). I even published using XenApp to a W7 desktop and got same issue.
    Error I receive is :
    SQL Server is not responding. Error 2147467259
    [MVBNET] LoginMod Automation error.
    The system cannot find the file specified.
    I tried adding the ODBC connector to the XenApp publishing server but same issue.
    Anyone come across similar issue before?

    I've found that sometimes certain runtime files aren't captured by the sequencer.  This usually happens for me for the older VC runtimes.  To fix this, do a comparison between what files are actually captured and what should be there, then copy
    the files into the package after the fact. 

  • ORA-12514 with Easy Connect only

    Greetings,
    On linux with a recent local install of Oracle XE:
    $ echo ORACLE_SID
    XE
    $ sqlplus system...works fine with nothing output to listener.log. I can connect no problem. However if I try:
    $ sqlplus system@localhost:1521/XEI get the following in listener.log:
    08-SEP-2008 14:03:11 * (CONNECT_DATA=(SERVICE_NAME=XE)(CID=(PROGRAM=sqlplus)(HOST=my.host.local)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=42572)) * establish * XE * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptorTnsping works:
    $ tnsping XE
    *+...+*
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
    OK (0 msec)My tnsnames.ora is:
    $ cat /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora
    # tnsnames.ora Network Configuration File:
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )I put the listener in trace at the SUPPORT level. I can post that dump as well if it would help?
    Without the Easy Connect connection identifier is it that I'm connecting via IPC? This is preventing me from remotely connecting via sqlplus or JDBC over an SSH tunnel of 1521 (the box is firewalled).
    Thanks!
    Ian
    Edited by: ibrandt on Sep 8, 2008 2:29 PM - Fixed unintended wiki markup.
    Edited by: ibrandt on Sep 8, 2008 3:19 PM - Formatting.

    Well, I've gotten it to work by changing 'localhost' to 'myhost.mydomain.local' (name changed to protect the innocent) in tnsnames.ora and listener.ora, adding myhost.mydomain.local to my local DNS server such that it resolves to eth0's external IP, and restarting oracle. After that...
    $ lsnrctl status XE
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-SEP-2008 12:08:07
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myhost.mydomain.local)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                09-SEP-2008 12:07:29
    Uptime                    0 days 0 hr. 0 min. 37 sec
    Trace Level               support
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listener Trace File       /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mydomain.local)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8081))(Presentation=HTTP)(Session=RAW))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XE" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
      Instance "XE", status READY, has 1 handler(s) for this service...
    The command completed successfully...which is notably different from before. After that I can connect with:
    sqlplus system/password@localhost/XEAlso of note, using the external IP directly in tnsnames.ora and listener.ora did not work.
    So my new question is, why does Oracle need a HOST=hostname--where hostname resolves to an external IP--to startup correctly? Though I have 1521 firewalled from the outside world it seems like an unnecessary security hole.

  • Ora-00164 with generic connectivity

    Hello:
    I have an Oracle 9iR2 database over linux RHAS 2.1 and try to replicate data to an informix server. For that purpose i have another oracle 9i over windows 2000 (brige) to make the replication using database triggers on tables in the Ora9i windows database. When i make transactions directly on the windows database, the data is replicated without problems to the informix server, but when i make the transactions on the linux database to the tables on the windows database via dblink the ora-00164 fires. I use autonomous-transaction on the triggers over the windows databse to make the replication.
    Is there any way to overcome this problem??????
    Any other alternative to make the replication work will be helpful.
    Thanks
    Andrés Wong

    I tried this and get the same error message.
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from ALPACWOBF
    listener.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = spruce)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = alpacwobf)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = hsodbc)
    tnsnames.ora
    alpacwobf.3LOG.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SPRUCE)(PORT = 1521))
    (CONNECT_DATA =
    (SID_NAME = alpacwobf)
    (HS=ok)
    initalpacwobf.ora:
    HS_FDS_CONNECT_INFO = AlpacWOBF
    HS_FDS_TRACE_LEVEL = 4
    HS_FDS_TRACE_FILE_NAME = alpacwobf.log
    ODBC setting is ok. odbc name is alpacwobf, db is access 2000.
    restart the listener.
    tnsping alpacwobf is ok.
    database link creating is ok.
    but when query,I got error.
    alpac > create database link alpacwobf using 'alpacwobf';
    Database link created.
    alpac > select count(*) from test@alpacwobf;
    select count(*) from test@alpacwobf
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    NCRO: Failed to make RSLV connection
    ORA-02063: preceding 2 lines from ALPACWOBF
    Any help will be appreciated.
    Thanks a lot.
    Richard

  • Errors  FRM-40505 and ORA-03114 after cancel a query in a form

    I have a Form (i'm working with 10g, i.e., Web) with property "interaction mode=non-blocking", and after execute the query, it pops-up the cancel query window, but when cancelled, the connection with the database is dropped.
    Someone knows why it happens?
    Thx.
    DFL
    Mensaje editado por:
    user455562

    That could possibly be bug 1942743
    The fix is to set the parameter pushjoin_predicate=false in the init.ora of your database.

  • T60p & Windows 7 Pro and Bluethoot problem with Access Connections.

    Hi,
    I reinstalled Windows 7 Pro (64bit) at my T60p laptop.
    I use Access Connections (v. 5.97) manage my wi-fi, lan connections.
    (installed with all features lan, wi-fi, modem etc.)
    So here is problem.
    When I start Access Connection. Bluethoot goes ON ...
    Trying disable Bluetooth via Access connectios (Power Off), but it's still going "ON" and stays "ON"...
    Any good solution to keep bluethoot off without disable it at bios?
    Earlier version of Access Connections keeps bluetooth OFF...
    /P

    If you are not using the Bluetooth and you want to disable it, the easiest way is to disable the device in the Device Manager.
    Go into the Device Manager by searching for Device Manager in the start menu, Open the Device Manager and select hardware, choose the Bluetooth device, right click, and finally choose 'disable'. If you want to use the Bluetooth device in the future you will have to return to the Device manager, right click and 'enable' the device.
    I hope this information has been helpful, please let me know if you have any further questions.
    Thank you for being a part of the Lenovo Family,
    Catie
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Donate KUDOS and Click "Accepted Solution"

  • Instant Client 10.1.0.5 and ORA-12640 with External Authentication

    I am using v10.1.0.5 of Instant Client on Windows 32bit. I have hit bug 5114330 (ANO: ORA-12640 authentication adapter initialization fails if Operating System User does not have admin rights). This was fixed in patch 12 of 10.1.0.5. I copied the updated files from patch 28 that related to the instant client files and I am still hitting the same problem. How do I patch my instant client install to overcome this bug? Using v10.2 of instant client is not an option as it is not compatible with our application.
    Kind regards,
    Steve

    I guess that if you know what you are doing, that approach should work fine; the "standard procedures" are there to guide people who have little experience and to provide a cookbook for how to do it.
    I am not sure about version 10.1, but in Instant Client 10.2 everything except for the Instant Client shared library (in 10.1 that is oraociei10.dll) is the same as the regular client. The Instant Client shared library contains messages and similar, so probably has no influence on a code bug as you experience it.
    What I would do in your case is to install the regular client on a test machine, apply the patch there and see if the problem is fixed there.
    If not, you have a better case for Oracle support, because they understand the regular client much better.
    If it works there, replace the Instant Client shared libraries with the files from the regular client and see if it works.
    In the case that the error persists, I guess there's no way around a Service Request, because nobody except for Oracle can look into the code.
    Yours,
    Laurenz Albe

  • Need help with ODBC Connections in Adobe LiveCycle

    Hello I have designed a form for my company that uses a database to populate a few fields on the form. I am unable to get it to work correctly without acrobat pro installed. I am using using xfa.sourceSet.DataConnection but as I said it will only work with acrobat pro installed. We do not have acrobat pro on any of the machines at my company and installing it is not an option is there any other way to accompish this?

    Please see this article for what options you have for deployment of your form:
    http://assuredynamics.com/index.php/2010/11/using-livecycle-forms-in-acrobat-and-reader/

  • Failover and Load Balancing with JNDI Connection Pools

    Hi,
    I am trying to figure out how would JNDI Connection Pooling work along with failover or DNS Load Balancing.
    Would connections be distributed equally among the list?
    Would the pool work with multiple heterogeneous connections (i.e. connections to different but equivalent servers ), or do all the connections in the pool have to be homogeneous (i.e. to the same server)?
    Thanks,
    Sergio

    Hi,
    I am trying to figure out how would JNDI Connection Pooling work along with failover or DNS Load Balancing.
    Would connections be distributed equally among the list?
    Would the pool work with multiple heterogeneous connections (i.e. connections to different but equivalent servers ), or do all the connections in the pool have to be homogeneous (i.e. to the same server)?
    Thanks,
    Sergio

  • Invalid datetime format with odbc connection (VBA, Excel)

    Hello!
    I try to use QueryTable to extract data from the oracle-db.
    Source:
    sConn = "ODBC;DSN=" + odbc_dns + ";"
    Set oQt = tabelle.QueryTables.Add(Connection:=sConn, Destination:=tabelle.Range("a5"), sql:=sSql)
    oQt.Refresh
    As result I get this error message:
    "[Oracle][ODBC] Invalid datetime format"
    Is there any setting I need to do?
    regards
    Pietro

    Select to_char(entrydate,'dd/mm/yyyy) from usertable;Forgot the closing ' after yyyy.

Maybe you are looking for

  • How many computers can I put iWork on?

    I have two computers and one iWorks. Can I install it on both? I imagine if I'm not supposed to, it won't let me. I don't wan't to be stealing it. Thanks!

  • Oracle 10gR2 64bit  odbc  from oracle to sql server  Win 2008 EE 64bits

    Hi, I am having trouble with a 10gR2 64bits creation of odbc from oracle to sql server, I have follow several instruction with no luck at all. My OS is windows 2008 EE 64bits on the oracle and sql server server. This is what I have done 1. in the $or

  • MacBook Pro 13 pulgadas con pantalla Retina

    Hola amigos. Al principio de Noviembre me compré un MacBook Pro 13 pulgadas con pantalla Retina y estoy muy contento con él. Por ello he creído interesante publicar varios artículos en mi página web para contar mi experiencia. Primero he hablado de m

  • Can't get email since I added personal domain.

    Hello, I have changed my web hosting to .mac and set up my personal domain. hurray! now i can't get emails to respond to my personal email account. i used zoneedit.com to direct traffic to web.mac.com, but i don't know how to fix the email. my domain

  • Anyone knows fast way to do provisioning or patches management?

    Hi, I need to know ASAP , is there any faster way to do OS updates or patches management for Solaris 10 run on a Sparc machine ? I know there's one way doing that by using N1 System Manager Any answer will be great ... Thanks