Error with stored connection in SQL Dev Version 3.0.03

Hello, I have downloaded new version SQL Developer / Version 3.0.03 / Build MAIN-03.97
When I try to log into stored connection (I have 3 connections, 2 are working perfectly and the last (most important) is not working (in previous version of SQLDev worked too) - please look on the picture of error. I tried to change NLS parameters, but nothing worked. [http://roudas.borec.cz/err.bmp]

Someone else reported this ora-01882 "timezone region not found" with 3.0.03.97 but not with 3.0.03.45 but no response from the team yet.

Similar Messages

  • Logon Error:[DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist

    Hi,
    Getting following error while trying to connect MySQL server to the MDM Import manager.
    logon Error:[DBNETLIB][ConnectionOpen(Connect()).]SQL Server does not exist or access denied
      i have supplied the following paramter values.
    Type : SQL server
    Remote System : MDM
    DBMS server : localhost 
    Database Name : testing
    user: < MySQL user name>
    password : < MySQL password>
    pls let me know how can i solve this problem.
    thanks

    Refer the blog
    /people/rupesh.kumar4/blog/2008/08/20/how-to-integrate-mdm-with-mysql-server-50
    thanks
    Rupesh

  • OLE DB or ODBC error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied

    Hi,
    I have one client and one server.  In both hosts I created an OS-user named User1.
    The user have been given various role under the prefix SQLServer2005.
    The default instance of SQL Server and instance (background-process) of
    Analysis Service are also run under User1.
    I connected via Management Studio to Analysis Service directly in the
    server.  I set the permission to access Analysis Service to Everyone. 
    This means everyone should be able to use Analysis Service.  I have set
    ODBC data source to the server.  Testing was successful.
    I created a project to create a cube.  The tables are fairly small (total 300 MB, biggest one 290).
    On project setting (created at client) I set the server host as
    deployment target. I managed to deploy project when all I have are Data
    Source and Data Source Views.
    But on deployment I always failed.   The errors remain the same, begins with
    OLE DB error: OLE DB or ODBC error: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.; 08001.
    I have tried 4 combinations of Impersonation :
    (A) Use a specific username and password
      * in which I supply User1 and the password of User1
    (B) Use the service account
    (C) Use the credentials of the current user
    (D) Default
    Why is this? The server does certainly exist.  I think the error message is wrong.
    I have seen 3 posting that seems related.  One of them say the solution is giving the right impersonation, but gave no detail.  About the privilege, User1 are granted the role of
    SQLServer2005MSOLAP.  What is the solution?
    Thank you,
    Bernaridho

    I just had this problem and solved it by creating an alias in SQL Server Configuration Manager, as below:
    Scenario: My SQL server is accessible from the internet under my.domain.com, and from itself at ServerName. But the local network can't see itself through the router at my.domain.com, so the deployed project is unable to process the cube, since that would
    require Analysis Services to be able to see the SQL Server at my.domain.com, which it can't do.
    So I changed the server in my project from my.domain.com to ServerName, and I created a local alias to ServerName in SQL Server Configuration Manager, under SQL Native Client 11.0 Configuration, Aliases. In my case, I pointed it to localhost port 1333, and
    used SSH -L 1333:my.domain.com:1433, but I could have pointed the alias directly to the server, just as well. (Verifying... yes, that worked too, so you can forget SSH if you have no interest in it.)

  • I have a error when i connect to sql exprees 2012 with my application

     hi  
    I have a application , its connected to sql server 2012  express
    user name  :  sa 
    and i have a password 
    in my computer and our company's computer its ok
    now 
    i setup sql server 2012 express in a customer's server 
    i setup my  windows application in server ... its works good (local)
    when i install my app in another network's computer  i see my sql server & i selected my server and create a provider & i tested my connection string its ok
    i have a succesfull connectionstring
    but when i read  records & ... i have a login failed server\ user
    why ?
     attention in customers' server have a sql server 2008 r2 for web
    my database can't restore in 2008 r2
    and any setting its same with my setting

    There can be too many problems that prevent connecting to the database. I suggest you get back with more information when you will have it in order to save us from guessing game :-)
    Don't worry we will be here to help tomorrow too (some of us probably) :-) 
    [Personal Site] [Blog] [Facebook]
    We Iranians do not like insult to others.
    good luck
    Hello Reza,
    I would like you to take answers in lighter way.As far as i can see there was no insult there Pituach just ( with simley) tried to tell you that such a error could be because of many reasons and please can you provide more details.
    SQL server forum includes people from all around world and only thing matters here is knowledge.
    Hope this helps
    Thanks for cooperation
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers
    hello Shanky_621 & RSingh
    &  pituach
    sorry  , You are right 
     i deleted my post 

  • Error with DQS after Installing SQL Server Service Pack 2

    When I open the DQS client, I get this error message:
    Message Id: VerificationFrameworkVersionNotCompatible
    A new version of .NET or Data Quality Services was installed on this machine. In order to continue to work with DQS please run 'DqsInstaller.exe -upgrade'.
    However, when I run DQSInstaller.exe, I get this message:
    DQS Installer has detected a previous DQS installation under this SQL server instance.  Running DQS installer will remove the previous installation, together with all the knowledge stored in it.
    Will I lose all my knowledge bases?  Is there an upgrade path?

    Hi Adolfo Socorro,
    According to your description, when you install SQL Server 2012 Service Pack2, the error of
    Data Quality Services (DQS) will occur. The cause is that Product Updates will not update the schema of the DQS catalogs, any related MDS catalogs, and the SQL CLR assemblies kept the DQS catalogs. Therefore, extra steps may be required
    if the DQS catalog schema needs to be upgraded, or the DQS CLR assemblies have been upgraded by the product update.
    If you have previously run the DQSInstaller.exe to build the DQS_MAIN, DQS_PROJECTS, and DQS_Staging_Data catalogs in one or more of the updated instances, you
    may need to continue to do the necessary upgrade steps to upgrade the database schemas, such as launch CMD as Administrator
    cd "C:\Program Files\Microsoft SQL Server\MSSQL11.InstanceName\MSSQL\Binn" DQSInstaller.exe –upgrade
    There is an article about upgrading DQS, you can review the following article.
    http://social.technet.microsoft.com/wiki/contents/articles/8442.upgrade-dqs-installing-cumulative-updates-or-hotfix-patches-on-data-quality-services.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Error when opening connection in SQL Developer 3.1

    I just downloaded SQL Dev 3.1 and had it copy my preferences from 3.0.0.4. Now when I try to open a connection I get the error message in the logging page:
    SEVERE     29     9453     oracle.dbtools.raptor.utils.Connections     For input string: ""
    This prevents me from executing any sql. When I try to see table data I get another error: SEVERE     32     47     oracle.dbtools.raptor.oviewer.table.GridDataEditor     java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    My 3.0 version works just fine. Any ideas?

    I finally got this to work. I had to remove all versions of SQL developer and then had to directory C:\Documents and Settings\(user_id)\Application Data\SQL Developer and remove the preferences for the old versions as well. Once I did this and downloaded 3.1 zip and extracted it now works.

  • Export stored procedure using sql dev

    Hi,
    I would like to export stored procedure.
    I notice there is a menu in sql dev ('Database Export').
    It will saves the export in .sql file.
    What is this .sql file will contain?
    What is the difference between this .sql file and .dmp file in expdp?
    What are the advantages and disadvantages in using these methods?
    Thanks.
    Edited by: 859102 on Jul 26, 2011 1:34 AM
    Edited by: 859102 on Jul 26, 2011 1:35 AM

    Any sqldev export is in normal readable format, with CREATEs, INSERTs and such.
    EXP/EXPDP in contrast stores binary data only readable with IMP/IMPDP.
    IMO, the sqldev method is better for small exports (of few objects and/or data), and EXPDP is better for full schema or DB exports as it's a lot faster.
    Have fun,
    K.

  • DBConnect Error - Trying to Connect to SQL Server 2008

    Hi,
    I am trying to connect to one of the SQL Server on the domain.
    SQL Server 2008
    OS: Windows 2008 R2 64 bit
    I have done all the entries as mentioned in the Note. 178949 correctly but when I am testing this connection through program ADBC_TEST_CONNECTION it is showing me following error:
    Testing a Database Connection Defined in DBCON
    Could not open connection SQLCONNECTION
    sql error 1- occured:
    I have put DBMSSSLIB.DLL and DBMSSSLIB.PDB in the run directory as mentioned in the note too.
    I have searched forum but couldn't find any solution for this. Please advice.
    Thanks,
    Usman Malik

    Hi dude!
    Checking the dbsl_w<NN> as it is explained in point 3 of the 'Troubleshooting' section of [SAP note 738371|https://service.sap.com/sap/support/notes/738371] would help a lot to know the reason of the failure.
    I hope this helps you!
    Cheers!

  • Some times on Tomcat start up it creates SSL error while JDBC connection to SQL server

    We are using Apache Tomcat 6 and SQL server 2008 on production. In the application in ServletContextListner we make DB connection to read some property from DB. When we restart the Tomcat 6.0 in that case sometimes it does not gets DB connection till 5 to
    10 minutes. It does not happen every time. We are using JNDI for getting the Datasource objectand using SQL JDBC 3.0 driver. We get following error in log
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
    at com.rightwave.util.RWDBConnectionManager.getConnection(RWDBConnectionManager.java:145)
    at com.rightwave.util.RWDataBaseDAO.executeQuery(RWDataBaseDAO.java:306)
    at com.rightwave.util.RWDataBaseDAO.executeQuery(RWDataBaseDAO.java:289)
    at com.rightwave.admin.RWApplicationContext.setMConfigurationProperties(RWApplicationContext.java:226)
    at com.rightwave.admin.RWAdminApplicationContext.initialize(RWAdminApplicationContext.java:85)
    at com.rightwave.admin.RWServletContextListener.contextInitialized(RWServletContextListener.java:186)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset by peer: socket write error".
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1368)
    at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1412)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1058)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:833)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:716)
    at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:841)
    at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1247)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1221)
    ... 31 more
    Caused by: java.io.IOException: Connection reset by peer: socket write error
    at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:500)
    at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:570)
    at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:562)
    at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:757)
    at com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:745)
    at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1379)
    ... 39 more
    Urgent help will be appreciated. 

    So, you've got a network error.. Check your physical layer.

  • Error in establishing connection to SQL server

    Hi All,
    I am working on SQL->Sender JDBC->XI----->Reciever RFC -
    > SAP scenario.
    I have completed the configuration of the scenario.
    The sql server is mySQL 2000.
    Hence, in the sender JDBC adapter, i have given the following details.
    JDBC Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection: jdbc:microsoft:sqlserver://<HOST>:<PORT>[;DatabaseName=<DB>]
    my connection: jdbc:microsoft:sqlserver://172.20.20.76:1143[;DatabaseName=SEPG_NEWDB]
    In Runtime Workbench->Component Monitoring>Adapter Engine--->Communication Channel Monitoring..
    I am facing error as follows.....
    Error during database connection to the database URL 'jdbc:microsoft:sqlserver://172.20.20.76:1433[;DatabaseName=SEPG_NEWDB]' using the JDBC driver 'com.microsoft.jdbc.sqlserver.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:microsoft:sqlserver://172.20.20.76:1433[;DatabaseName=SEPG_NEWDB]': SAPClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver'
    What might be the reason behind this error....??????
    Kindly help me.....
    Regards
    Pavan

    what i meant was have you deployed the proper jar file(driver file) in the .sda file in using SDM......your driver parameter is fine just check this below
    download the jdbc driver from url http://download.softagency.net/MySQL/Downloads/Connector-J/
    (mysql-connector-java-3.1.14-bin.jar if you are using mysql 4.0)
    the  your parameter in Dapter
    DBC driver: com.microsoft.jdbc.sqlserver.sqlserverdriver
    connection: jdbc:microsoft:sqlserver://ip:port;databasename
    also check this
    tther option is download JDBC Driver from Microsoft Website
    http://www.microsoft.com/downloads/details.aspx?FamilyID=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
    and deploy the JDBC driver using SDM.
    JDBC Driver Deployment Guide...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    how to configure drivers:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    also http://www.oracle.com/technology/software/tech/windows/odbc/index.html
    Help Required on File to JDBC scenario
    JDBC Driver?

  • Strange error on stored procedure after update to version 7.6.06.10

    Hi,
    in past version MaxDB 7.6.03 i created a stored procedure with follow SQL statement inside:
    TRY
                SELECT SUM(QTDE) QTDE_SAIDA
                   FROM VENDOR_CONCES.MVIEW_MOVPRODUTOS mviewS
                   WHERE mviewS.MY_EMPRESA = :OID_EMPRESA AND
                         mviewS.MY_PRODUTO_DEF = :OID_PRODUTO_DEF AND
                         mviewS.GERA_ESTOQUE = 'S' AND
                         mviewS.TIPO = 'S' AND
                         mviewS.DATA BETWEEN :MAX_DATA_ESTOQUE_INICIAL AND :DTA_ESTOQUE AND
                         EXISTS(SELECT * FROM VENDOR_CONCES.MVIEW_MOVPRODUTOS mviewE WHERE 
                            mviewE.my_Empresa = mviewS.my_Empresa AND
                            mviewE.tipo = 'E' AND
                            mviewE.data <= mviewS.data AND
                            mviewE.my_Produto = mviewS.my_Produto AND
                            mviewE.gera_Estoque = 'S' AND
                            mviewE.gera_Financeiro != 'N'
                FETCH INTO :QTDE_SAIDA;
            CATCH
                IF $rc <> 100 THEN STOP ($rc, 'unexpected error ao contar Saidas');
    if execute that procedure with new version 7.6.06.10 i get an error:
    (at 1834): Data types must be compatible.
    the line of error is this:
    mviewS.DATA BETWEEN :MAX_DATA_ESTOQUE_INICIAL AND :DTA_ESTOQUE AND
    if i remove the EXISTS part that procedure works, but i need to use EXISTS there.
    ps: MVIEW_MOVPRODUTOS is a table, not a view, i preceed tables with MVIEW for tables created by triggers, to simulate Materialized Views.
    ps2: DATA field is DATE field on english.
    any idea what can be wrong?
    best regards.
    Clóvis

    Hi, Elke
    you are right, changing SELECT * to SELECT oid works, follow the full procedure with changes:
    CREATE DBPROC SP_ESTOQUE_ATUAL_DATA_PROD_DEF (
        IN OID_EMPRESA VARCHAR(8),
        IN OID_PRODUTO_DEF VARCHAR(8),
        IN DTA_ESTOQUE TIMESTAMP,
        OUT ESTOQUE_ATUAL VARCHAR(200))
    AS
        VAR MAX_DATA_ESTOQUE_INICIAL TIMESTAMP;
            QTDE_ESTOQUE_INICIAL FIXED(10,3);
            QTDE_SAIDA FIXED(10,3);
            QTDE_ENTRADA FIXED(10,3);
        BEGIN
            TRY
                SELECT MAX(DATA) MAX_DATA_ESTOQUE_INICIAL
                   FROM VENDOR_CONCES.ESTOQUEINICIAL
                   WHERE MY_EMPRESA = :OID_EMPRESA AND
                       MY_PRODUTO = :OID_PRODUTO_DEF AND
                       DATA <= :DTA_ESTOQUE;
                FETCH INTO :MAX_DATA_ESTOQUE_INICIAL;
            CATCH
                IF $rc <> 100 THEN STOP ($rc, 'unexpected error em MAXDATAEINI');
            TRY
                IF MAX_DATA_ESTOQUE_INICIAL IS NULL THEN BEGIN
                    SET MAX_DATA_ESTOQUE_INICIAL = '1900-01-01 00:00:00.000';
                    SET QTDE_ESTOQUE_INICIAL = 0;
                END ELSE BEGIN
                    SELECT QTDE QTDE_ESTOQUE_INICIAL
                       FROM VENDOR_CONCES.ESTOQUEINICIAL
                       WHERE MY_EMPRESA = :OID_EMPRESA AND
                           MY_PRODUTO = :OID_PRODUTO_DEF AND
                           DATA BETWEEN :MAX_DATA_ESTOQUE_INICIAL AND :DTA_ESTOQUE;
                    FETCH INTO :QTDE_ESTOQUE_INICIAL;
                END;
            CATCH
                IF $rc <> 100 THEN STOP ($rc, 'unexpected error em Carregamento do Estoque Inicial');
            TRY
                SELECT SUM(QTDE) QTDE_SAIDA
                   FROM VENDOR_CONCES.MVIEW_MOVPRODUTOS mviewS
                   WHERE mviewS.MY_EMPRESA = :OID_EMPRESA AND
                         mviewS.MY_PRODUTO_DEF = :OID_PRODUTO_DEF AND
                         mviewS.GERA_ESTOQUE = 'S' AND
                         mviewS.TIPO = 'S' AND
                         mviewS.DATA BETWEEN :MAX_DATA_ESTOQUE_INICIAL AND :DTA_ESTOQUE AND
                         EXISTS(SELECT oid FROM VENDOR_CONCES.MVIEW_MOVPRODUTOS mviewE WHERE 
                            mviewE.my_Empresa = mviewS.my_Empresa AND
                            mviewE.tipo = 'E' AND
                            mviewE.data <= mviewS.data AND
                            mviewE.my_Produto = mviewS.my_Produto AND
                            mviewE.gera_Estoque = 'S' AND
                            mviewE.gera_Financeiro != 'N'
                FETCH INTO :QTDE_SAIDA;
            CATCH
                IF $rc <> 100 THEN STOP ($rc, 'unexpected error ao contar Saidas');
            TRY
                IF QTDE_SAIDA IS NULL THEN
                    SET QTDE_SAIDA = 0;
            CATCH
                IF $rc <> 100 THEN STOP ($rc, 'unexpected error ao zerar saida');
            TRY
                SELECT SUM(QTDE) QTDE_ENTRADA
                   FROM VENDOR_CONCES.MVIEW_MOVPRODUTOS
                   WHERE MY_EMPRESA = :OID_EMPRESA AND
                       MY_PRODUTO_DEF = :OID_PRODUTO_DEF AND
                       GERA_ESTOQUE = 'S' AND
                       TIPO = 'E' AND
                       DATA BETWEEN :MAX_DATA_ESTOQUE_INICIAL AND :DTA_ESTOQUE;
                FETCH INTO :QTDE_ENTRADA;
            CATCH
                IF $rc <> 100 THEN STOP ($rc, 'unexpected error ao contar entradas');
            TRY
                IF QTDE_ENTRADA IS NULL THEN
                    SET QTDE_ENTRADA = 0;
            CATCH
                IF $rc <> 100 THEN STOP ($rc, 'unexpected error ao zera entrada');
            TRY
                SET ESTOQUE_ATUAL = CHR(QTDE_ESTOQUE_INICIAL + QTDE_ENTRADA - QTDE_SAIDA);
            CATCH
                IF $rc <> 100 THEN STOP ($rc, 'unexpected error');
        END;
    about the error, I discovered the line using database studio, as I droped the old procedure and tried to recreate, database studio says that error is at BETWEEN expression, but you find the right problem with select * in exists.
    best regards
    Clóvis

  • Error with stored procedure block datasource

    Hi all,
    I tried to base a datablock on a stored procedure in order to get better runtime performance. I work with Forms Builder 6i with patch 17 , and our database is oracle 8.1.7.1.4
    But when compiling I got errors.
    Here are what I did :
    create or replace type TSourceObject as object(name varchar2(30), propname varchar2(200));
    create or replace type TSourceTable is table of TSourceObject;
    create or replace procedure p_query_ntwk_chnl_mirror(p_tab IN OUT NOCOPY TSourceTable, p_action varchar2, p_lien number)
    is
    begin
    if p_action = 'VISU' then
    select TSourceObject(B.bdw_name, P.prop_bdw_name)
    bulk collect into p_tab
    from T_NETWORK_CHANNEL N, t_bdw_mw B, t_prop_bdw_mw P
    where B.comp_bdw = P.comp_bdw and P.comp_prop_bdw = N.comp_prop_bdw
    and EXISTS (SELECT 1
    FROM t_channel_element C
    WHERE N.comp_network_channel = C.comp_network_channel and comp_lien = p_lien);
    else
    select TSourceObject(B.bdw_name, P.prop_bdw_name)
    bulk collect into p_tab
    from T_NETWORK_CHANNEL N, t_bdw_mw B, t_prop_bdw_mw P
    where B.comp_bdw = P.comp_bdw and P.comp_prop_bdw = N.comp_prop_bdw;
    end if;
    end;
    Then I created the datablock with the wizard , I entered correctly the value of the arguments for the table type name, the argument p_action and the argument p_lien.
    And when compiling there was this alert error :
    Compiling QUERY-PROCEDURE trigger on NETWORK_CHANNEL_MIRROR data block...
    Compilation error on QUERY-PROCEDURE trigger on NETWORK_CHANNEL_MIRROR data block:
    PL/SQL ERROR 960 at line 5, column 9
    RPCs cannot use variables with schema level user-defined types in this release
    PL/SQL ERROR 0 at line 5, column 9
    Item ignored
    PL/SQL ERROR 320 at line 7, column 26
    the declaration of the type of this expression is incomplete or malformed
    PL/SQL ERROR 0 at line 7, column 1
    Statement ignored
    PL/SQL ERROR 320 at line 8, column 28
    the declaration of the type of this expression is incomplete or malformed
    PL/SQL ERROR 0 at line 8, column 1
    Statement ignored
    Compilation errors have occurred.
    So what should I do ?
    Thank you very much indeed.

    I create the package , and when creating the body then there was an error.
    Here is the package :
    create or replace package pkg_query_ntwrk_chnl_mirror
    is
    type TSourceObject is record(name varchar2(30), propname varchar2(200));
    type TSourceTable is table of TSourceObject index by binary_integer;
    procedure p_query_ntwk_chnl_mirror(p_tab IN OUT NOCOPY pkg_query_ntwrk_chnl_mirror.TSourceTable, p_action varchar2, p_lien number);
    end;
    create or replace package body pkg_query_ntwrk_chnl_mirror
    is
    procedure p_query_ntwk_chnl_mirror(p_tab IN OUT NOCOPY pkg_query_ntwrk_chnl_mirror.TSourceTable, p_action varchar2, p_lien number)
    is
    begin
    if p_action = 'VISU' then
         select B.bdw_name, P.prop_bdw_name
         bulk collect into p_tab
         from T_NETWORK_CHANNEL N, t_bdw_mw B, t_prop_bdw_mw P
         where B.comp_bdw = P.comp_bdw and P.comp_prop_bdw = N.comp_prop_bdw
         and EXISTS (SELECT 1
         FROM t_channel_element C
         WHERE N.comp_network_channel = C.comp_network_channel and comp_lien = p_lien);
    else
         select B.bdw_name, P.prop_bdw_name
         bulk collect into p_tab
         from T_NETWORK_CHANNEL N, t_bdw_mw B, t_prop_bdw_mw P
         where B.comp_bdw = P.comp_bdw and P.comp_prop_bdw = N.comp_prop_bdw;
    end if;
    end;
    end;
    And here is the error :
    7/2 PL/SQL: SQL Statement ignored
    8/20 PLS-00597: expression 'P_TAB' in the INTO list is of wrong type
    15/2 PL/SQL: SQL Statement ignored
    16/20 PLS-00597: expression 'P_TAB' in the INTO list is of wrong type
    And what is the problem here ? I think it is right!

  • Error with ABAP in SAP HANA studio  Version: 1.80.3

    Hi,
    Am using SAP HANA studio Version: 1.80.3 and have got the ABAP perspective in here.
    I am able to connect to the SAP ABAP system via the studio, however when I open the folder, am not able to open the ABAP system folder and see objects.. on expanding the system node, I see nothing!.
    I am able to connect to this same system with HANA Studio Version: 1.0.70.
    Can you please suggest what might be wrong?
    Regards
    Sudarshan
    On a related note, when I click on the "Check for Updates" button, I get a PROXY authentication required error. Is there a way to configure the proxy authentication details in HANA studio version 1.80.3?

    PFA the screen prints of the errors and the version

  • BCP - Error with column text in sql server 2000

    Hi,
    Im trying to restore a bcp using the command: 
    bcp "db.dbo.tb_log_old" in "tb_log2013.out" -SSERVER -T -n
    Im using SQL 2000 with the table below
    CREATE TABLE [dbo].[tb_log_old](
    [cd_id] [int] NULL,
    [cd_servico] [int] NULL,
    [dt_ocorrencia] [datetime] NULL,
    [nm_xml_entrada] [text] NULL,
    [nm_xml_saida] [text] NULL,
    [dt_inicio_processamento] [datetime] NULL,
    [dt_fim_processamento] [datetime] NULL
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    I have got the error
    Starting copy...
    SQLState = S1001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Memory allocation failure
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = S1000, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]Text column data incomplete
    SQLState = 37000, NativeError = 4810
    Error = [Microsoft][ODBC SQL Server Driver][SQL Server]Expected the TEXT token in data stream for bulk copy of text or image data.
    BCP copy in failed

    I tried with binary and nvarchar but I got the error below:
    Can I get just 2 columns in the bcp?
    Starting copy...
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    SQLState = 22001, NativeError = 0
    Error = [Microsoft][ODBC SQL Server Driver]String data, right truncation
    BCP copy in failed

  • Port 0 error with mail connection HELP!

    Hello all I have seen this topic on the forum before but all the solutions out there have not worked. I have worked on my school's wireless network for more than a year now and have had no problem using apple's mail to access .mac mail and g-mail mail (via pop mail forwarding) until three months ago or so. Then all of a sudden mail wont get the mail from the two accounts and I have these popular error messages
    There may be a problem with the mail server or network. Check the settings for account "[email protected]" or try again.The server error encountered was: The connection to the server "mail.mac.com" on port 0 timed out.
    and
    There may be a problem with the mail server or network. Check the settings for account "G-mail" or try again.The server error encountered was: The connection to the server "pop.gmail.com" on port 0 timed out.
    I have tried two suggested fixes:
    1) I went to network port configurations and only checked the configurations I wanted to use to connect to the internet and dragged the one used most (airport) to the top
    2) I went to the proxy section and disabled (unchecked) the SOCKS proxy. Some posts have suggested that a SOCKS proxy update in 10.4.7 may have caused the problem.
    Neither of these have worked. Also, I have contacted my network administrator thinking that the school's firewall might be causing the problem. To test this, he shut down the firewall and still the problem occured. I am out of suggestions. Anyone have anything else to try.
    Ohh by the way, when I am at home on my home network, mail works fine and I am able to get my e-mail as usual.

    Hello all I have seen this topic on the forum before but all the solutions out there have not worked. I have worked on my school's wireless network for more than a year now and have had no problem using apple's mail to access .mac mail and g-mail mail (via pop mail forwarding) until three months ago or so. Then all of a sudden mail wont get the mail from the two accounts and I have these popular error messages
    There may be a problem with the mail server or network. Check the settings for account "[email protected]" or try again.The server error encountered was: The connection to the server "mail.mac.com" on port 0 timed out.
    and
    There may be a problem with the mail server or network. Check the settings for account "G-mail" or try again.The server error encountered was: The connection to the server "pop.gmail.com" on port 0 timed out.
    I have tried two suggested fixes:
    1) I went to network port configurations and only checked the configurations I wanted to use to connect to the internet and dragged the one used most (airport) to the top
    2) I went to the proxy section and disabled (unchecked) the SOCKS proxy. Some posts have suggested that a SOCKS proxy update in 10.4.7 may have caused the problem.
    Neither of these have worked. Also, I have contacted my network administrator thinking that the school's firewall might be causing the problem. To test this, he shut down the firewall and still the problem occured. I am out of suggestions. Anyone have anything else to try.
    Ohh by the way, when I am at home on my home network, mail works fine and I am able to get my e-mail as usual.

Maybe you are looking for