How to create save actions in SQL Developer 1.5?

Hi,
I am trying to create a save action in SQL Developer, which shall execute "an external tool" I already added.
I choose "Code-Editor" -> "save actions". I want to add an action, but there are 3 predefined actions and there is no possibility for me to add another. Is there a way for me to add a save action, as it is possible in eclipse?
What I am trying to do is, I want to trigger an external sql formatter. The sql formatter, which is built in, doesn't fit my needs and the way I can configure it, is very sparse. Therefore I want to use an external tool do to this - and I want it to be executed after saving the document.
Greetings,
Daniel

Right click on the table and select "Export Data": default format is INSERT statement.
Example of generated SQL:
--  Fichier créé - mardi-septembre-13-2011  
--  DDL for Table HELP
  CREATE TABLE "SYSTEM"."HELP"
   (     "TOPIC" VARCHAR2(50 BYTE),
     "SEQ" NUMBER,
     "INFO" VARCHAR2(80 BYTE)
   ) PCTFREE 0 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 49152 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "SYSTEM" ;
REM INSERTING into SYSTEM.HELP
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',1,null);
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',2,' @ ("at" sign)');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',3,' -------------');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',4,' Runs the SQL*Plus statements in the specified script. The script can be');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',5,' called from the local file system or a web server.');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',6,null);
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',7,' @ {url|file_name[.ext]} [arg ...]');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',8,null);
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',9,' where url supports HTTP and FTP protocols in the form:');
Insert into SYSTEM.HELP (TOPIC,SEQ,INFO) values ('@',10,null);
(...)SQL Developer documentation: http://download.oracle.com/docs/cd/E18464_01/index.htm.
Edited by: P. Forstmann on 13 sept. 2011 21:27

Similar Messages

  • How to create a database using SQL Developer

    Hallo,
    I am a user of OpenSUSE 11.4 and have Oracle database install in my system. I was reading this page regarding on creating a database. But I don't know how to launch DBCA in my system. May I know how can I launch DBCA in OpenSUSE 11.4?
    THanks @!

    user4994079 wrote:
    Hallo,
    I am a user of OpenSUSE 11.4 and have Oracle database install in my system. I was reading this page regarding on creating a database. But I don't know how to launch DBCA in my system. May I know how can I launch DBCA in OpenSUSE 11.4?
    THanks @!You'd launch it in exactly the manner in which your cited reference says:
    --- begin quote ---
    by entering the following on the UNIX command line:
    dbca
    --- end quote ---
    Of course the documentation assumes you've completed the first five minutes of Computer Admin 101 and so realize you should include the directory that has the executabale file. In this case, your PATH should include $ORACLE_HOME/bin
    So, what have you tried? What result did you get?
    And why are you citing a reference for a old, unsupported version of Oracle?
    And why the reference to SQL Developer in your subject line? This has nothing to do with SQL Developer.
    Edited by: EdStevens on Apr 16, 2011 9:15 PM

  • How to create databse in oracle sql developer

    Hi am using oracle sql developer but while connecting to the database i am getting error of network adapter
    if any buddy has a solution then fill free to post
    Thanx and Regards
    Umesh

    Can you be a little more specific with the error? The "network adapter" errors I've seen myself have been because SqlDeveloper can't connect to the database, either because the wrong host/port was given, or because a firewall was blocking the port.

  • How to create Spatial index in SQL Developer Data Modeler 4

    Hi,
    What is the procedure to create a Spatial index in SDDM v4 ? I ended up in a deadlock due to the following issues :
    1) Reverse engineering missed the spatial index, so I need to add them manually.
    2) Adding an index does not allow me to check the 'spatial index' checkbox, nor does it allow me to add the sdo_geometry column in the index definition.
    3) When registering Spatial properties for a table, I cannot choose the Spatial Index name.
    I came across an old post (Data Modeler - can't create a spatial indexes), yet this post is no longer valid since SDDM V4 does not allow me to create an index without columns (incomplete index definition).
    Help is appreciated,
    Kind regards,
    Richard.

    Hi,
    One more thing : When doing a compare with the database (from which I reverse engineered) there was only 1 difference (apart from the storage details, which could be ignored by setting a parameter).
    This is the Spatial Table property. This was set in the Model, but what would be the corresponding setting in the database ?
    The Spatial Table property is set on import from the database if the "Spatial Properties" option is set for the import, and there is an entry for the Table and its owning Schema in the metadata view ALL_SDO_GEOM_METADATA.
    ALL_SDO_GEOM_METADATA is similar to USER_SDO_GEOM_METADATA, but has an additional OWNER column identifying the schema that owns the table (as described in section 2.8 of the Oracle Spatial and Graph Developer's Guide: http://st-doc.us.oracle.com/database/121/SPATL/sdo_objrelschema.htm#SPATL545).
    The fact that your table is not being treated as a spatial table suggests that either the import cannot access the view ALL_SDO_GEOM_METADATA or it cannot find an entry for the table and its owning schema in that view.
    Are any errors being logged to your log file when you do your import?  (You can see the log by selecting External Log from Data Modeler's View menu.)
    David
    Added note: I've added a further comment - it's on page 2 of this thread.

  • How create new user in sql developer?

    so i tried creating a new user in SQL developer, under the worksheet section,  for a 12c database
    create user Hares1
    identified by book;
    but I get this error
    SQL Error: ORA-65096: invalid common user or role name
    Sorry I know this is a generalized question. I only learned how to actually connect today - any help of a next step would be appreciated.

    so i tried creating a new user in SQL developer, under the worksheet section,  for a 12c database
    create user Hares1
    identified by book;
    but I get this error
    SQL Error: ORA-65096: invalid common user or role name
    The 'next step' is RTFM. Sorry but for 12c multitenant you simply MUST read the documentation about the new multitenant architecture.
    Your 'problem' is not creating a user with sql developer - it is how to create users in 12c.
    See my extended comments and reply in this thread (and several other threads I reference there) which addresses your exact problem
    12c: ORA-65049: creation of local user or role is not allowed in CDB$ROOT
    http://www.oracle.com/pls/db121/homepage
    I suggest you first read chapters 17 and 18 of the Concepts doc about the new multitenant architecture of 12c.
    http://docs.oracle.com/cd/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
    The 'Common Users in a CDB section answers your question
    >
    The name of every user-created common user must begin with the characters c## or C##. (Oracle-supplied common user names do not have this restriction.)
    >
    There are two types of users in 12c: common and local. You need to understand the difference between them.
    Until you read those doc chapters you won't understand these terms: common user, local user, CDB, PDB, root container, and many others.
    As I said in that other thread:
    You will NOT be successful working with 12c unless you have read and understand the new multitenant architecture that it uses. There are very simple things (connecting, startup/shutdown, creation of users, grants to users, etc) that just don't work the same old way anymore.
    If you try to just 'plow through it' without reading about it you will likely get an exception that you won't understand and it will likely use a term (CDB$ROOT) that you won't understand. Then you will hunt all over (or worse, ask in the forums) to find out about that term.
    Yes - I know how adverse some people are to RTFM replies. But for 12c multitenant it is mandatory to read the docs no matter how expert you may be in previous Oracle versions.

  • Create statspack report using sql*developer

    Hello,
    While connecting with PERFSTAT user I can not create statspack report using SQL*Developer:
    @?/rdbms/admin/awrrpt
    Error starting at line 1 in command:
    @?/rdbms/admin/awrrpt
    Error report:
    Unable to open file: "?/rdbms/admin/awrrpt.sql"
    Actually, my problem or question is that how can PERFSTAT user can generate statspack reports from a Client side. What is the other way a non-dba can see the snapshots histroy and generate report (by using perfstat user ) while joing tables or using views?
    Thanks a lot.
    Best Regards

    Hi,
    for awr reports @?/rdbms/admin/awrrpt (you need EE+Diagnostic Pack) there is a solution.
    Grant execute dbms_workload_repository to <user>;
    Grant select_catalog_role to <user>;
    get all SNAP_IDs
    SELECT   TO_CHAR(s.startup_time,'YYYY.MM.DD HH24:MI:SS') INSTART_FMT,
             di.instance_name INST_NAME,
             di.db_name DB_NAME,
             s.snap_id SNAP_ID,
             TO_CHAR(s.end_interval_time,'YYYY.MM.DD HH24:MI:SS') SNAPDAT,
             s.snap_level LVL
    FROM    dba_hist_snapshot s,
             dba_hist_database_instance di
    WHERE   di.dbid = s.dbid
             AND di.instance_number = s.instance_number
             AND Di.Startup_Time = S.Startup_Time
    ORDER BY snap_id desc;
    Select * From Table(Sys.Dbms_Workload_Repository.Awr_Report_Html(DBID, 1, BEGIN_SNAP_ID, END_SNAP_ID));
    For statspack i don't know a solutuion. I think the best idea is, create a job to make the statspack report on the server side and access it via external tables or mail them forward to you.
    Best regards
    Thomas

  • Unable to create a connection in SQL developer

    hii
    I'm unable to create a connection in SQL developer..it says I/O Exception, Network Adapter could not establish a connection...i provided the username and password which i used for SQL*Plus, which is working fine. And i gave the host as localhost. I don't know how to fill the connection name field..can anyone help me in connecting to the database...By the way I'm using Oracle 11g. Thankssssss

    you could try to change the connection type to TNS and pick the database name available to you in the Network Alias drop-down list.
    Edited by: Alex Nuijten on Sep 5, 2008 10:13 AM

  • How to create SAVE button in Workbook using BI IP Functionality

    Hi All,
    I have Real-time Infocube (ZCUBSDID) with me. Planning has been done on the cube using BI-IP (like Aggregation level, filter, planning function and planning sequence are present there).
    As an Input i have everything in Quality system like I can access query in Bex Anlyzer (Input Ready Query) and also i have workbook associated with the query. SAVE button is also present on workbook which is giving result based on fiscal year and version.
    Now my task is to create workbook on Development system with the same functionality as Quality System.
    I have same Query available on DEV system also. I created new  Workbook but SAVE button is not available in my workbook.
    Can anyone suggest how to create SAVE button in my new workbook.
    I am new in IP side so please let me know if i can get any help from workbook which is already present in Quality system.
    Which type of analysis i should do to come out with solution.....otherwise let me know step by step procedure to create SAVE button on workbook using BI-IP functionality.
    It will be great help. My advance thanks goes to you people.
    Thanks,
    Rupali Singh

    Check points 19 & 20 on this link http://help.sap.com/saphelp_nw2004s/helpdata/en/43/a033e0f56e21b5e10000000a1553f6/frameset.htm.
    Command to be called on SAVE button is SAVE_AREA as explained in the point 20.
    Regards,
    Deepti

  • How to Add Access Platform in SQL Developer 3.2.20.09

    Though it was default in previous versions but I think it is not in this version. I have downloaded the latest copy of SQL Developer 3.2.20.09 from your site. While trying to migrate data from Access to Oracle using Migration Wizard (Tools>Migration>Migrate option) I am not getting any Access data in source database window. There are nothing under Available Source Platforms. Kindly let me know how to bring Access Platform in SQL Developer 3.2.20.09.

    Hi,
    Have you checked all the steps in the SQL*Developer documentation ?
    Review the relevant sections of -
    Oracle® SQL Developer User's Guide Release 3.2
    2.2.4.3 Before Migrating From Microsoft Access
    2.2.4.3.1 Creating Microsoft Access XML Files
    2.2.8.1.3 Creating Data Files From MySQL
    2.3 SQL Developer User Interface for Migration
    2.3.1 Migration Submenu
    Are you able to create a connection to an Access mdb file using the 'Connections' options ?
    See -
    5.21 Create/Edit/Select Database Connection
    and the information under -
    Access tab
    If you can make a connection to the Access mdb file then you should be able to make the migration also by followingthe steps detailed in the documentation.
    Regards,
    Mike

  • File Open/Save Boxes of SQL- Developer

    I am not aware if these points are already discussed or on features list.
    1) I could not find how to set default directory where SQL Developer will go directly when I am opening new file.
    2. Also as far as I experienced SQL Developer does not remember the last path/directory I have opened file from.
    3. I don't know difference between File Menu -> open and right click in the worksheet and open.
    But the files opened via right click does not go to recently used file list in the file menu. Is this expected?
    4. When I export the data to file. there are two points.
         a) Last path is not remembered so I have to go to the path every time.
         b) SQL Developer comes with the name null.csv
         The practical problem I face is after I go to whatever path I need I give some file name. But if I don’t give the extension then no extension is there to the file it created. I think most will expect to have automatic extension. I don’t know if I am expecting too much.
    Regards
    Sanjeev

    Hi,
    1. Lots of Windows users who are craving for this, let's hope it gets into v1.1. Perhaps the default script directory (accepted for v1.1) can be used.
    2. They claim it does, however only for the same opened tab. Duh.
    3. Might be intentional, but I agree it should be added.
    4. a) Bummer, isn't it?
    b) I agree. Suppose it's like this because of the multi-platform capability.
    If you notice missing features or want to vote on other people's requests, there's the SQL Developer Exchange, at http://sqldeveloper.oracle.com .
    Have fun,
    K.

  • How to create a database in sql?

    My question is how to create a database in sql?

    entrant wrote:
    My question is how to create a database in sql?
    as Iam a beginner
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career.  To that end, you should drop everything else you are doing and do the following:
    Go to  docs.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    BOOKMARK THAT LOCATION
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth.  They are reference manuals.  Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - *Read a chapter a day from the Concepts Manual*.
    - Take a look in your alert log.  One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - *When you have finished reading the Concepts Manual, do it again*.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • How to create a database in Sql server management studio

    how to create a database in Sql server management studio

    One method is to run the SQL statement below from a SSMS query window:
    CREATE DATABASE MyDatabase;
    You can also right-click on the Databases node in SSMS Object explorer and select New Database.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • How to create new actions ? in the interaction record screen

    Hi all,
    I'm working with the IC web client.
    In the interaction record screen the is a link to actions.
    But how to create new actions ? schedule actions ?
    Component "ICCMP_BT_INR"
    View "InrHeaderViewSet"

    Hi Eran,
    Gret is absolutely right ..The actions are transaction type specific and can be attached along in the customizing as mentioned above by gret , these can then be tested in the SAP gui first for their scheduled and start conditions and then in the ICWC.
    There is no special settings for actions in ICWC if they are there in your transaction they will come in the ICWC.
    Hope this helps
    Regards
    Raj

  • How to show georaster RDTs in SQL developer 1.5 ?

    Hi all,
    I wonder how to properly set the latest SQL Developer (1.5 EA3) to show georaster RDTs in the connection / objects pane (left hand side pane) ?
    My SQL Developer 1.5 EA3 does not show any RDT. While previous versions in my machine (version 1.2.1 and 1.1.3) have no problems in showing RDTs.
    My platforms are :
    * OS : MS Windows Vista Ultimate
    * Oracle Database 11g Release 1 (11.1.0.6.0) Enterprise/Standard Edition for Microsoft Windows 32-bit
    * JDK 1.6.0_06
    Please advise,
    =Damon

    This is just a bug.I have logged bug #7025395
    Sue

  • How To version a Schema in SQL Developer?

    How To version a Schema in SQL Developer? Is there any open source tool for windows? I used a trial version of Source Control for Oracle by Red Gate. But i am looking for a free tool or way around? Like we do versioning in Jdeveloper?Any help in this regard would be much appreciated.

    SQL Developer supports e.g. Subversion out of the box.
    Open Sql Developer Help and search for "Versioning"
    Using Versioning
    SQL Developer provides integrated support for the Subversion and Git versioning and source control systems, and you can add support for other such systems as extensions by clicking Help, then Check for Updates. Available extensions include CVS (Concurrent Versions System) and Perforce.
    This is the part about support for versioning. The next step would be how you organize your workflow so every source is available in your repository.
    Maybe an online tutorial can help you: Using Source Code Control in Oracle SQL Developer 3.0
    Regards
    Marcus

Maybe you are looking for

  • I d/l your mozilla firefox today and now I get the error 0x80070002 all the time...how do I fix that?

    I downloaded mozilla firefox today and now I get the error 0x80070002 all the time, and I cannot use system restore because of it. How do I fix that so that my computer works right again. I was restoring because after I d/l your mozilla today, I lost

  • Input Text in Table, autosizing height to fit content

    I've a table with a variety of multi-row inputText components, most of them with the @row attribute set to 2. However, one of these fields sometimes has verbose content. Is there a way to configure the InputText component to autosize itself (and the

  • Ora-03113 and no oracle process found in SuSE10.1

    I just installed Oracle10.2 on SuSE10.1. When created database, the ora-03113 occured. And other results are: ps -ef can't find any Oracle process, ipcs can't find any Oracle process either. the question is how to start the backgroud process manually

  • Insert and then update on next page

    I've made a registration page and I want the following page to display the newly registered account in text boxes so the user is able to check the information and edit it then update their newly made registration. Essentially the form needs to go two

  • Using external reference png files

    Hello everyone! I've been requested to create a flash project in which all images are external references. Images (mostly png) are created and can be modified anytime by artists, fla files and actionscript are created by developers. When opening a fl