ORA-01446 error in SQL Developer 3EA4

I have created a view and when clicking on the Data tab, I receive the error message: ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
When you create a SQL Select statement in a SQL Worksheet the view works fine.
Has anyone else experienced this behavior? I cannot tell whether this has been around in earlier releases on SQL Developer, this is the first time this happened to and I am using SQL Developer for over 2 years.
Thanks,

No, can you post the DDL to debug?
K.

Similar Messages

  • Ora 12505 error in Sql developer

    can any one help.... when i was about to create a table in oracle sql developer i got error mesg ora 12505 listener refused the connection... tns doesnt respond

    892111 wrote:
    can any one help.... when i was about to create a table in oracle sql developer i got error mesg ora 12505 listener refused the connection... tns doesnt respond
    12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a SID for an instance (usually a database instance) that either
    // has not yet dynamically registered with the listener or has not been
    // statically configured for the listener. This may be a temporary condition
    // such as after the listener has started, but before the database instance
    // has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which instances are currently known by the listener by executing:
    //    lsnrctl services <listener name>
    //  - Check that the SID parameter in the connect descriptor specifies
    //    an instance known by the listener.
    //  - Check for an event in the listener.log file.

  • How to resolve ORA-00001 Error in SQL Insert?

    Hi all, I need your appreciated help.
    I make a plsql procedure that is inserting a row according cursor value, I'm having oracle error ORA-00001: unique constraint (constraint_name) violated.
    You may see this message if a duplicate entry exists at a different level: in RDBMS MySQL I have the syntax IGNORE to resolve this duplication error... and in Oracle ?
    Thanks for your time and hints.
    Miguelito

    user6317803 wrote:
    How to resolve ORA-00001 Error in SQL Insert?ORA-00001 means table has unique/primary key/index and you are trying to insert a row with key value that already exists in the table. I'll assume table COUNTRIES has primary key on COUNTRY_ID. Then change SQL to:
    SQL = "INSERT INTO COUNTRIES(COUNTRY_ID,COUNTRY_NAME,REGION_ID) SELECT 'BZ','BLZ',3 FROM DUAL WHERE NOT EXISTS(SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ')"There is a good chance table COUNTRIES also has unique key/index on COUNTRY_NAME. If so use:
    SQL = "INSERT INTO COUNTRIES(COUNTRY_ID,COUNTRY_NAME,REGION_ID) SELECT 'BZ','BLZ',3 FROM DUAL WHERE NOT EXISTS(SELECT 1 FROM COUNTRIES WHERE COUNTRY_ID = 'BZ' OR COUNTRY_NAME = 'BLZ')"SY.

  • Invalid column index error in sql developer

    Hi,
    I was trying to create stored procedures, functions and packages in sql developer which is connected to Oracle 11g. My instructor is able to execute all of them without any errors in 10g. However, when I try to execute them, I get- "Invalid column index error". Any suggestions on how to rectify this error?

    Hi,
    That is probably an
    ORA-17003: Invalid column index
    Which is a JDBC error. Is Java/JDBC somehow involved?
    If not, could you please post one of the failing statements?
    Regards
    Peter

  • ORA-06502 error on SQL tab

    I have just installed the latest version of SQL Developer (1.2.1.3213) and am running an Oracle 9i database (version 9.2.0.7).
    When I click on the SQL tab when looking at a table I get an ORA-06502 error and the DDL generated has "-- Unable to Render DDL with DBMS_METADATA using internal generator." at the top.
    I then get a whole host of other errors when using other parts of the program until I disconnect and reconnect.
    This error also occurs when I run the following query:
    select dbms_metadata.get_ddl('TABLE',table_name , user ) from user_tables;
    Any ideas?
    Incidentally prior to this release I had an early version 1 release of SQL Developer and the SQL tab here showed nothing at all.
    Any comments would be most appreciated.

    I am currently using v2.1.1.64, Build MAIN-64.45 and have the same or a similar problem. SQL developer will not generate the SQL code, but fails with the following error:
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    ORA-06512: at "SYS.UTL_XML", line 0
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3688
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4544
    ORA-06512: at "SYS.DBMS_METADATA", line 466
    ORA-06512: at "SYS.DBMS_METADATA", line 640
    ORA-06512: at "SYS.DBMS_METADATA", line 1260
    ORA-06512: at line 1
    This installation doesn't have the same directory structure as in the previous reply, so I can't run the catmeta.sql script which doesn't exist in this release.
    Mike

  • Error in sql developer while debugging

    Hi
    When Iam trying to debug my procedure in sql developer tool
    I getting this below error.
    *Connecting to the database Prodcopy Connection.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '172.16.35.228', '4000' )
    ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database Prodcopy Connection.*
    I given privilage to the following cases .
    grant debug connect session to PRODCOPY;
    GRANT DEBUG ANY PROCEDURE to prodcopy;
    Please help me to resolve this problem.

    It probably means that there is a firewall between the database server and your PC. The database needs to be able to communicate with your PC on the address and port number specified. '172.16.35.228', '4000' .
    Confirm that the address is actually your PC and then see what you can do about getting the 4000 port opened on a firewall.

  • How can I find out what is causing this error in SQL Developer Data Modeler

    Friends,
    I am trying to import entities into into SQL Developer Data Modeler from Oracle Designer 10.1.2.3.
    In case of need I perform these steps to perform the import:
    File --> Import --> Oracle Designer Model --> Select database connection --> Select work area --> select application system --> select one entity --> Click finish --> Import starts
    During the import process I see an alert dialog box with the message:
    There are errors in import - check Log file Clicking Ok dismisses the alert box and I see the following summary screen:
    Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 584
    Oracle SQL Developer Data Modeler Import Log
    Date and Time: 2010-08-09 14:27:26
    Design Name: erdtest
    RDBMS: Oracle Database 10g
              All Statements:           32
              Imported Statements:      32
              Failed Statements:           0
              Not Recognized Statements:      0The Entity is then displayed in the Logical View within SQL Developer Data Modeler.
    Upon checking the log file I see the following entry:
    2010-08-09 13:50:34,025 [Thread-11] ERROR ODExtractionHandler - Error during import from Designer Repository
    java.lang.NullPointerException
         at oracle.dbtools.crest.imports.oracledesigner.logical.ODORelation.createArcs(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.logical.ODORelation.generate(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.ODExtractionHandler.generateDesign(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.ODExtractionController$Runner.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)Can anyone shed any light on this error?
    Thanks in advance for any help you may be able to provide.

    No this helps a lot. It's not strange. Firstly, in a versioned repository you should see Private Workareas and Shared workareas, so your workarea may be in either of these. It won't be in the Global Shared Workarea, as this only for non-versioned repositories. (I like to open the RON by selecting the full Repository, that way I can see the private and shared worlareas and the configuration and containers all in the same tree.
    Now your workarea is defined by a set of rules, so when you expand the workarea in the RON, and select the object, then that's the workarea and object you'll see in the import dialog in the Data Modeler. So if you check it out and check it back in, and can't see it in the RON, then the rule is not seeing this object. (Did you refresh the workarea in the RON?) If you can't see it in the RON, you can't see it in the Data Modeler. If you're working in a versioned repository, you need to work in the specific work area, i.e V27 and this is what you need to select in the Data Modeler.
    It looks like you are selecting the wrong workarea in the Data Modeler.
    Sue

  • ORA-04044 Error in SQL statement

    Hi All,
    I faced ORA-04044 in a SQL statement being written inside a shell script. I really don't know what is wrong with the script. Without shell variables is working ...
    Here is the excerpt:
    line=`sar -u 2 5 |tail -1`
    var_io=`echo "$line" | awk '{print $6}'`
    var_sys=`echo "$line" | awk '{print $5}'`
    var_user=`echo "$line" | awk '{print $3}'`
    var_idle=`echo "$line" | awk '{print $7}'`
    sqlplus $ora_access <<EOF
    select sysdate, a.hostid, a.inst_num, b.count1, c.count2, $var_user,$var_sys,$var_idle,$var_io
    from dual ,
    (select HOST_NAME hostid, INSTANCE_NUMBER inst_num from v$instance ) a,
    (select count(sid) count1 from v$session where username is not null) b,
    (select count(*) count2 from apps.fnd_concurrent_requests where phase_code ='R') c;
    EOF
    [b]Error Message:
    SQL*Plus: Release 10.2.0.2.0 - Production on Thu Apr 10 02:20:53 2008
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> 2 3 4 5 (select count(sid) count1 from v where username is not null) b,
    ERROR at line 4:
    ORA-04044: procedure, function, package, or type is not allowed here

    Thanks a lot for instant reply. It worked!!
    I forgot to use the escape character, but the error
    message was not revealing anything :-(If you look carefully you could have spotted it:
    SQL> 2 3 4 5 (select count(sid) count1 from[b] v where username is not null) b,

  • ORA-0911 Errors in SQL Worksheet

    Is anyone else getting ORA-0911 errors in the Worksheet when they press F9? It is, of course, not consistent or easily repeatable, but seems to occur when I've got more than about three SQL statements in the worksheet and just typed another at the end.
    It's not a problem with my SQL, because I can cut and then paste the statement elsewhere in the worksheet and F9 will work fine. Of course when I then cut and paste it back to the bottom it carries on working as well.
    I'm trying to figure out exactly when this happens but of course the behaviour isn't consistent enough to narrow it down. I'm hoping that other people are also seeing this error message a lot and that there is either a known problem or that we can collectively figure out what is going on.

    The specific error must be in one of the earlier threads that was talking about this problem, but when I have problem with SQL Worksheet not identifying the current statement out of multiple statements, it is almost always the ORA-911.
    If the statement runs fine when you select the specific text, then I would say that the problem is the SQL Worksheet statement selection rather than anything to do with the DB version.
    As an example - I am connecting to 9.2.0.5 and if my SQL Worksheet contains:
    select dummy
    from dual
    where dummy like '%'
    select dummy
    from dual
    where dummy not like '%'
    If I use F9 anywhere in the SQL Worksheet, I get the ORA-911 error.
    However if I select the the text of either statement, it runs fine (first returning a record and second not).
    If I delete the two where clauses, I don't get the ORA-911 error, even if I don't select the statement text explicitly.

  • Error in SQL Developer: Database Connections has no JNDI context so cannot

    Hello,
    I have installed SQL Developer 3.1.07 version on Linux. Previously I was able to create a connection and browse the existing tables, add tables, etc.
    Now when I launch SQL Developer, I see that no connections are displayed. Instead there are these three messages indicating an error. Can you please advice on how to resolve this?
    Thanks,
    Errors:
    SEVERE     44     0     oracle.jdeveloper.db.DatabaseConnections     DatabaseConnections has no JNDI context so cannot list connections.
    SEVERE     43     36     oracle.jdevimpl.db.adapter.DefaultContextWrapper     Failed to create naming Context for db connections at url: file:/home/user/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml
    SEVERE     42     0     oracle.jdevimpl.db.adapter.DefaultContextWrapper     Failed to create naming Context for db connections at url: file:/home/user/.sqldeveloper/system3.1.07.42/o.jdeveloper.db.connection.11.1.1.4.37.59.48/connections.xml

    Hi uparthas,
    Here is a similar thread (Windows 7) marked as answered, and may be applicable to a Linux environment if you are using jdk1.7 rather than jdk1.6:
    Lost my connections.
    If that does not solve the issue, you might also wish to ...
    1. Exit SQL Developer
    2. Delete or rename the /home/user/.sqldeveloper/system3.1.07.42 directory
    3. Launch SQL Developer, perhaps without choosing to migrate settings from a prior install.
    Hope this helps,
    Gary
    SQL Developer Team

  • Jdbc-OCI:112020 Error with SQL Developer 4.0.0.12

    Hi,
    I receive an error, Incompatible version of libocijdbc[Jdbc:112030, Jdbc-OCI:112020, when attempting to log into an existing connection with SQL Developer 4.0.0.12.  I do have the JDK 7u45 for 32 bit Windows 7.  I know this was an issue in the past and attempted to look at earlier solutions with no luck.  Any idea?

    The issue is that if you are using the OCI (thick) JDBC  driver the version of the JDBC library (in SQLDeveloper) must match the version in your ORACLE_HOME. 
    It seems SQLDeveloper 4 ships with 11.2.0.3 version of JDBC and you have 11.2.0.2 client installed.
    Possible options:
    1     Don't use the OCI driver.  You can untick the box in Tools |Preferences|Database |Advanced, but some connection types use it anyway.
    2     Upgrade your Oracle client.

  • Error on SQL Developer startup

    All:
    I'm suddenly receiving the following popup when I try to run SQL Developer:
    Unable to create an instance of the Java Virtual Machine Located at path:
    c:\sun\AppServer\jdk\jre\bin\client\jvm.dll
    The only change I've made recently is installing .net and sql server 2003.
    Any ideas???
    Thanks.
    Pat

    Hi Everyone,
    This might not be exactly related to this thread, but when I try to start JDeveloper 10g, I see the following message:
    Unable to create an instance of the Java Virtual Machine Located at path:
    ..\..\jdk\jre\bin\client\jvm.dll
    This started about a month ago.
    The solution for me is to "Shutdown ZoneAlarm Security Suite".
    It is probably possible to simply change some Program Control parameters in ZoneAlarm, but I have not yet figured out these details. Has anyone else?

  • ORA-00936 error from SQL expression in SQL*Loader script

    I am getting the above error on the following line in my SQL*Loader script:
    DIA_CLM_RES_OID DECIMAL EXTERNAL
    "SELECT N_ORG_ENTY_ID FROM TESTG4.ORG_ENTITY
    WHERE N_USER_ID =
    (SELECT UNIQUE WSR_NT_ID FROM CONV_CLM_RESOURCE
    WHERE CLM_RES_OID = :DIA_CLM_RES_OID)",
    What I am basically trying to do is a 2-table lookup of a value:
    1. Find a row in table CONV_CLM_RESOURCE where the value in column CLM_RES_OID matches the value in the input file in field DIA_CLM_RES_OID.
    2. Take the value of field WSR_NT_ID from that row and use it to find a row in table TESTG4.ORG_ENTITY.
    3. Take the value of field WSR_NT_ID from that row and set it in the target table in field DIA_CLM_RES_OID.
    In other words, I am essentially trying to translate the input value by using two other tables to lookup the value to translate to. However, no matter how I arrange it, I keep getting the "ORA-00936: missing expression" error on this statement.
    Can anyone see what I am doing wrong, or perhaps suggest a better way of accomplishing a two-table translation of a value?
    Thanks!

    Still not sure why this doesn't work, but I was able to create and use a function to do this instead, which is probably a better approach anyway.

  • Error with sql developer converter....

    I am converting a view to pl/sql from ms SQL.
    I have a particular line of code that is causing an error.
    MS SQL:
    NULLIF(dbo.ItemVarValues.ItemVarValueName, '') IS NOT NULL
    PL/SQL:
    AND NULLIF(itemvarvalues.itemvarvaluename, ' ' ) IS
    NOT NULL;
    Getting an error on the above statement.
    Does anyone know what the correct syntax is for the second part of the NullIf expression?
    TIA

    Empty strings already are NULL in Oracle, so just lose the NULLIF.
    K.

  • Error Downloading SQL Developer 1.1 for Windows w/o Java

    I've now tried 3 times to download sqldeveloper-1.1.2.2579-no-jre.zip . WinZip cannot use it and indicates that there has been a download failure. Then, in Netscape and IE I now get the message
    Downloading the file sqldeveloper-1.1.2.2579-no-jre.zip.
    InterScan Web Security will check the file after the download is complete.
    NOTE: Do not click Refresh or Back, or navigate to another page or the download will fail.
    InterScan Web Security detected the following in HTTP traffic:
    Item: http://download-west.oracle.com/otn/java/sqldeveloper/sqldeveloper-1.1.2.2579-no-jre.zip
    Action: deleted
    Reason: Violation of a compressed file restriction
    -- File: sqldeveloper-1.1.2.2579-no-jre.zip, security warning: Exceed_File_Count_Limit
    The uncleanable file is deleted.
    Hope you can help!!

    I was able to download sqldeveloper.exe for windows which I realised later wasn't for Desktop OS. Can you suggest to me one which works on Desktop windows?

Maybe you are looking for

  • ABAP Server Proxy

    Hi, I have generated a server proxy in my back-end SAP System based on a deep structure XML message type. I would like to access the data received in my proxy class. My question is how to access an Internal table within another Internal table? Regard

  • Can Connect To Server With Apple Mail?

    Hey All, I've had my OS X Server running as a mail server for a few months now and things have been pretty sweet. My local clients have been using Mail.app to access their mail and Squirrelmail for when they are out of the office. My question is, som

  • Problem with button

    Hi there, after updating to the latest 5.0.1 software on iPhone 4, i ntice that i have to press the button like 10 times before responce!! This is extremely irritating! What can I do??

  • If I bay time capsule, I can use ma tv with smart tv and wi fi to watch my films on capsule?

    If I bay time capsule, I can use ma tv with smart tv and wi fi to watch my films on capsule?

  • USB Flash Drive not working

    I have purchased a USB FLASH DRIVE v112b 16GB on 26.12.13 from HP dealer in Agartala. after using 2 months I'm facing problems with it. Suddenly  an error is showing " you need to format the disk before you use it but format is not possible as anothe