Code Insight Issue - SQL Developer 1.1 (1.1.0.23 Build Main 23-64)

Dear SQL Developer Team,
I have a slight issue with the Code Insight.
I have created a package with three procedures
create or replace PACKAGE PACKAGE1 AS
procedure test1 (inpar varchar2);
procedure test2 (inpar varchar2);
procedure test3 (inpr varchar2);
END PACKAGE1;
When I try and reference the procedures in the package code insight only shows two procedures (see this link for the screenshot http://i12.tinypic.com/3zqbuiv.gif)
Any ideas ?
Chris

Sorry Chris, been tied up. looked at this
1. created a PTN table. This is the DDL export of that table. Range partition on date.
-- DBMS_METADATA was unable to use TABLE_EXPORT to generate sql. Now trying to use TABLE.
CREATE TABLE "HR"."TABLE1"
(     "ID" NUMBER,
     "HIREDATE" DATE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
TABLESPACE "USERS"
PARTITION BY RANGE ("HIREDATE")
SUBPARTITION BY LIST ("ID")
(PARTITION "P1" VALUES LESS THAN (TO_DATE(' 2006-12-31 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
TABLESPACE "USERS"
( SUBPARTITION "SYS_SUBP21" VALUES (DEFAULT)
TABLESPACE "USERS") ,
PARTITION "P2" VALUES LESS THAN (TO_DATE(' 2007-01-31 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
TABLESPACE "USERS"
( SUBPARTITION "SYS_SUBP22" VALUES (DEFAULT)
TABLESPACE "USERS") ) ;
2. Export from Resultset tables in query. As insert statements
REM INSERTING into TABLE1
Insert into TABLE1 ("ID","HIREDATE") values (1,to_date('12-DEC-06','DD-MON-RR'));
Insert into TABLE1 ("ID","HIREDATE") values (2,to_date('21-JAN-07','DD-MON-RR'));
I'm also getting the others working well too. I 'm running the latest version that we are about to release a patch on so it should be good when it comes out.

Similar Messages

  • Exporting data problems in SQL Developer 1.1 (1.1.0.23 Build Main 23-64)

    All,
    I am using the new version of SQL Developer which is great but I am having a problem usig the Export Data functionality.
    I have tried exporting the data from a table to a file as INSERT statements and TEXT and also to the clipboard and all I get is either a blank file or a REM statement with the name of the table.
    The table I am trying to select data from is partitioned.
    The database I am trying to export from is Oracle 9i and I have select privs on the data and the tables as I can see them in SQL Developer.
    My O/S is Windows XP professional...I am not allowed to use Linux at work :-(
    Is anyone else having such problems.
    Chris
    Message was edited by:
    tiffer

    Sorry Chris, been tied up. looked at this
    1. created a PTN table. This is the DDL export of that table. Range partition on date.
    -- DBMS_METADATA was unable to use TABLE_EXPORT to generate sql. Now trying to use TABLE.
    CREATE TABLE "HR"."TABLE1"
    (     "ID" NUMBER,
         "HIREDATE" DATE
    ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
    STORAGE(
    BUFFER_POOL DEFAULT)
    TABLESPACE "USERS"
    PARTITION BY RANGE ("HIREDATE")
    SUBPARTITION BY LIST ("ID")
    (PARTITION "P1" VALUES LESS THAN (TO_DATE(' 2006-12-31 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
    STORAGE(
    BUFFER_POOL DEFAULT)
    TABLESPACE "USERS"
    ( SUBPARTITION "SYS_SUBP21" VALUES (DEFAULT)
    TABLESPACE "USERS") ,
    PARTITION "P2" VALUES LESS THAN (TO_DATE(' 2007-01-31 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
    PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
    STORAGE(
    BUFFER_POOL DEFAULT)
    TABLESPACE "USERS"
    ( SUBPARTITION "SYS_SUBP22" VALUES (DEFAULT)
    TABLESPACE "USERS") ) ;
    2. Export from Resultset tables in query. As insert statements
    REM INSERTING into TABLE1
    Insert into TABLE1 ("ID","HIREDATE") values (1,to_date('12-DEC-06','DD-MON-RR'));
    Insert into TABLE1 ("ID","HIREDATE") values (2,to_date('21-JAN-07','DD-MON-RR'));
    I'm also getting the others working well too. I 'm running the latest version that we are about to release a patch on so it should be good when it comes out.

  • Code Templates in SQL Developer 2.1

    Hi all!
    Looks like this feature does not work at all. Even followed the instructions from Sue's book page 99:
    In SQL Developer 2.1, simply start typing the code from the
    template, and the full code is displayed in the code insight drop list. Select the code
    to add it to the SQL Worksheet.
    Any ideas?
    Thanks,
    Radu

    Hi,
    Really disappointed to see that code template dont work in v 2.1. If it is considered that code insight can replace ctr + shift + T than this is wrong assumption.
    ctr + shift + T was so easy to use. Also the code insight dont pop up for templates having PL/SQL blocks. For examples
    If a template T1 is like
    BEGIN
    <Some processing statements>
    END;
    than T1 can not be used as template in 2.1 unlike 1.5.
    Hope the issue is fixed very soon else users would prefer to use 1.5.
    Regards,
    Sandeep G
    Edited by: [email protected] on Jan 28, 2010 3:37 AM

  • Connection Issue - SQL Developer 1.5.1

    I have an issue when trying to create a new connection, but only on one PC. When I try to create the connection by selecting TNS in the connection type drop-down none of the Network Aliases are available for me to select.
    I can set up the conection on another machine, log off, log back on to this machine and the connection is there for me to use. However, I then get the following error whe I try to use the connection:
    Invalid Connection Information Specified.
    Verify the URL Format for the specified driver.
    Vendor Code 0
    Has anybody come across this error before? Does anyone have a solution?
    Regards,
    Nick

    Clients installed for the following clients 6i, 9i, and 10g each in their own Oracle Home. We don't use tnsnames.ora at all for our location any longer. We had used onames services and moved about two years ago to LDAP. So we configure our machines to use SQLNET.ora and the LDAP.ora files right now for each machine. LDAP does not work with anything prior to 9i if my memory is right so I only have the SQLNET.ora/LDAP.ora files in the 9i and 10g client folders. I thought this could be an issue of SQL Developer using an Oracle Home as it's default and I don't have the files it needs for LDAP or something so I have tried to reveiw all of my Oracle Homes. I also have a tool to switch your default home and I have tried that to see if that would change where SQL Develeoper is looking for the LDAP.ora file. In my 6i home I have the sqlnet.ora file that still works with onames services to resolve names.

  • Code obfuscation using SQL Developer

    Hello all,
    In SQL Developer, it's possible to obfuscate a single file using "refactoring->obfuscate". Is there a way to do this for a number of files at once, either within the IDE, or more practically, at the command line.
    Regards
    Femi.
    Edited by: 995332 on Mar 21, 2013 9:42 AM

    Hi Femi,
    SQL Developer does provide command line support for some UI features like Unit Testing and Formatting (look in the sqldeveloper\bin directory for the scripts), but not unfortunately for the Refactoring feature. That is available only from the UI.
    Regards,
    Gary
    SQL Developer Team

  • SQL Developer Extension, GeoRaptor Release 2.1.1 (Build 3) now available

    Cross Post.
    See details at: GeoRaptor Release 2.1.1 (Build 3) Available for SQL Developer
    regards
    Simon Greener

    Hi,
    The original GeoRaptor had some documentation but it has not been updated.
    It is a task on the development list but it has a low priority next to the developments we have planned for the next release. (The main ones being the ability to map the whole, or part, of a SELECT statement executed in a SQL Worksheet - including export to shapefile; the addition of multiple SRID-aware Views to enhance the current single, SRID-unaware view; length/area tools; line and polygon selection tools.)
    The attribute and geometry tabs in the pane in the lower half of the spatial view will appear when an "identify" operation is executed and selected data exists.
    The split into attribute and geometry tabs was done to better control the visualisation experience of a user. The original Geometry tab displayed a single geometry in a non-standard way and allowed a user to drag select ordinates which could then be mapped. The button should have been removed in build 3 but it wasn't. It will probably do nothing. Perhaps in the next release we might replace the button with an ability to select and individual geometry, highlight it and show its points or even show elements in a multi-element geometry eg show me inner ring 2 in the first outer-ring of a multi-polygon. Don't know. If anyone wants this type of functionality register an enhancement request on the sourceforge GeoRaptor website.
    Remember, GeoRaptor is an open source, community driven tool. If you want to help by writing documentation eg a simple one page wiki page on how to validate geometry etc (it doesn't have to be a whole manual), or contribute code, let us know. Or if you simply like the tool or want an enhancement, let us know.
    It is hard writing a tool in the vacuum of one's own experience (no matter how considerable that might be) in a land far, far away (I live in Hobart, Tasmania, Australia), to let us know how we are going......
    regards
    Simon

  • Code searching in sql developer

    Hi, I was wondering how I could search through all my packages/procedures for a particular piece of text?

    I don't think there is anything built in.. You can run a query against the source text (although it may take a while)
    SELECT * FROM sys.all_source WHERE text LIKE '%search_for_me%' You can narrow it down to a specific user or object by changing the where clause.
    However, the quickest is probably to just grep for the code in your source directories if you have it on a unix box.

  • SQL Developer 1.1.0.21.97 Query Builder Table Name List Unsorted

    The Query Builder list of table names is unsorted. Should it be alphabetical?

    We have a number of outstanding issue for the Query Builder. These will not be updated for the next evaluation release. I agree, alphabetical would be a better approach.
    Sue

  • SQL Developer consumes a lot of memory

    Sql developer consumes a lot of RAM (around 100 MB) few minutes after start of application . any tips to reduce this?

    This is usually due to the caching of database objects on support of code insight and is dependent on the number of objects in the database. As documented in the readme.txt in the sqldeveloper home directory, you can disable code insight.
    2.1  To disable Code Insight
    Run SQL Developer from a command line using the following statement:
       Windows : sqldeveloper -J-Dsdev.insight=false
       Linux or Mac: Run sh sqldeveloper -J-Dsdev.insight=false
    or edit sqldeveloper.conf and add "AddVMOption -J-Dsdev.insight=false"

  • SQL/Developer & Resource Usage.

    A quick comparison with Toad on XP.
    Both software connected to same database running a blank sql window.
    Toad = 30MB
    SQL/Developer =60MB
    Usage of SQL/Developer see memory usage rocket to 180MB.
    Shutdown of SQL/Developer closes down the process but the PC still runs slow and requires a reboot.
    Nice product but what's the deal guys ?

    It's the insight stuff.
    You shold turn off sql insight as documented here: http://www.oracle.com/technology/products/database/project_raptor/ea6_relnotes.html.
    <snip>
    We now have a command line way to turn off code insight. This is very useful for users who access larger databases. To disable Code insight, startup SQL Developer from the command line using:
    On Windows: sqldeveloper -J-Dsdev.insight=false
    On Linux or Mac: Run sh sqldeveloper -J-Dsdev.insight=false
    or edit sqldeveloper.conf and add "AddVMOption -J-Dsdev.insight=false".
    </snip>
    -kris

  • Problem upgrading SQL Developer

    OS : Windows XP
    SQL Developer Version : 1.0.0.11.84 Build MAIN-11.84
    I click Help -> Check for Update -> Click Next -> Click Next
    I see three updates available. I check all of them and click Finish. The versions that I see are 10.1.3.1215
    When I come back to updates. I see them again.
    These updates never go and they do not upgrade my tool version at all.
    Another problem was, when I upgraded my tool last time, all my connection disappeared. I imported them again, and closed SQL Developer. I lost all the connection again. So I Imported them and clicked on File -> Save All. This saved all my connections.
    -Nags

    See these posts:
    Same SQLDev updates show up repeatedly after updating
    Automatic version update - some problems
    From what you say, it sounds like you are properly on v1215.

  • SQL DEVELOPER 3EA1 -- Doesn't show my Code Template ?

    Hi
    I wander if someone could help to workout with Code template in SQL Developer 3.0EA1 (0.5.97)
    I have many code template in my previous release 3.0 ( Tools --> Preferences --> Database --> SQL Editor Code Template ). When I was typing first word of Code Template, It was appearing but this is not the case in 3.0EA1 , It shows me default Code Template not the one I am looking for.
    Thanks
    Hemesh.

    They have been removed:
    http://vadimtropashko.wordpress.com/2011/10/11/documentation-code-snippets/
    Here is how you get your programed code template back. In the worksheet invoke your code template the "official" way, that is via abbreviation. Run the statement. Now it's in SQL History and should be shown in code insight.

  • SQL Developer 2.1.1.64 - code template does not work in Windows Vista

    I have been trying to import a code template in SQL Developer 2.1.1.64 / Windows Vista using the following steps:
    1. Import template (xml) file using "Preferences > Database > SQL Formatter > Import..." option. Pressed "OK" button.
    2. Clicked on "Preferences > Database > SQL Formatter > Oracle Formatting".
    I expected to see the new profile under "Profile" drop-down-list-box, but it does not appear there.
    I tried putting the template (xml) file under various locations, including:
    (a) C:\Users\<user_name>\
    (b) C:\Users\<user_name>\AppData\Roaming\SQL Developer\
    Please let me know any suggestions that you may have.
    Thanks in advance.

    I got it to work. In step 1 that I mentioned, "OK" button should not be pressed; go to step 2 without pressing "OK" button.

  • SQL Report not showing data - available in SQL Workshop and SQL Developer

    I am having an issue with developing a SQL Report in APEX 3.2.1. I run the code in both SQL developer and SQL Workshop and I get data pulled back (both against my development environment). When I run the same code in a SQL Report region, it returns no data available. Does anyone have any idea what would be causing this? Other regions on the page accessing different tables in the same schema return data without issue. Any help would be appreciated.
    Thanks
    Freddie

    Could you explain the last comment a bit more. Here is a bit more info just in case I touch on the info with it. The db schema is BPAMGR, the Workspace is BPAMGR. We use the same schema for all of our reporting. All of our tables are in the same schema. We don't use any tables outside of this schema. Our APEX workspace has been associated to only this schema. The tables are able to be queried by SQL Workshop in the same APEX instance that the report application is under.
    Freddie

  • Database Creation Developer Days SQL Developer 3.1

    Hey, I am fairly new to the SQL Developer world, but I am working on building a mock database in the vm prior to building it on a physical server.
    The problem I am facing is creating a connection, If I go through new connection, make a name, username, pass, and sid, then click test it sends the error.
    Status : Failure -Test failed: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    when I do an sid of orcl it responds:
    Status : Failure -Test failed: ORA-01017: invalid username/password; logon denied
    then once I change the Use OCI/Think Driver setting it sends out:
    Status : Failure -Test failed: oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber()I
    Last test I try is creating a local connection, then when I try to click into one of those DB's it request a password, then errors out:
    An error was encountered performing the requested operation:
    oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber()I
    Vendor code 0
    I know I'm new, but any help would be greatly appreciated! Thank you so much for your time

    Hi Roman,
    I don't have an Oracle 9.2 database readily available, but it works fine on 10g XE. Please note 3.1 is not certified with 9i:
    http://www.oracle.com/technetwork/developer-tools/sql-developer/certification-096745.html
    Regards,
    Gary
    SQL Developer Team

Maybe you are looking for

  • WIndows/iTunes won't recognise iPod

    I connected my 30Gb iPod one day, added some songs, disconnected it properly, listened to my iPod, then came back to connect it to the computer. I waited for a while to see why the "Do Not Disconnect" message hadn't appeared. Instead just the "chargi

  • External drive for Mac Mini !

    Does  the new Mac mini work with any other third party external Drives? Or must it by all means be a MacBook Air external drive?

  • ACE - Timeout application

    Hi, we have ACE 4700 installed for load balancing. We are facing an issue with one of our application. When client tries to communicate with VIP of load balancer we get the response as timed out. Also on the client in netstat connections observed som

  • Dreamweaver CS4 Installation Fails after 95% installed

    Hello, I am just so fed up with trying so many re installations of Dreamweaver CS4 in my sony vaio. I just booted up in simplified mode, turned off Mcafee,windows firewall,used windows cleanup script,adobe cleanup script.After all I am getting the sa

  • Troubleshoot using wacom cintiq 21ux pen tablet with Photoshop cs5

    Hello to all. got my new Cintiq 21ux today. ! its my first pen tablet and i really love it ! i worked it perfectly on my photoshop cs4 and after watching some videos and reading articles i decided to upgrade to CS5 and that is when all the problem st