How to show alerts in sql developer?

hi all
I want to display a message box in backend( sql developer). Every day open the sql developer, i want to see some mesage from table data. can u plz sample code of this requirement.
plz reply

SQL Developer is not a monitoring solution, which is generally what one is asking for when the word 'alerts' is used. Perhaps you need something along the lines of Oracle Enterprise Manager ?

Similar Messages

  • How to start listener in sql developer for remote debug

    how to start listener in sql developer for remote debug ? Since the new version 1.1.0.23 is different with the old version for remote debug, I don't know how to start the listener on the new version for remote debug.
    even follow the user guide below and not work . Experts on sql developer please help me with this.
    Remote Debugging
    To debug a procedure or function for a connection where the database is on a different host than the one on which you are
    running SQL Developer, you can perform remote debugging.
    Remote debugging involves many of the steps as for local debugging; however, do the
    following before you start the remote debugging: Use an Oracle client such as SQL*Plus to issue the debugger connection command. Whatever
    client you use, make sure that the session which issues the debugger connection commands is the same session which executes your PL/SQL
    program containing the breakpoints.
    For example, if the name of the remote system is remote1, use the following SQL*Plus command to open a
    TCP/IP connection to that system and the port for the JDWP session:
    EXEC DBMS_DEBUG_JDWP.CONNECT_TCP('remote1', '4000'); The first parameter
    is the IP address or host name of the remote system, and the second parameter is the port number on that remote system on which the debugger
    is listening.
    Right-click the connection for the remote database, select Remote Debug, and complete the information in the Debugger - Attach
    to JPDA dialog box. Then, follow the steps that you would for local debugging (for example, see Debugging a PL/SQL Procedure).
    Debugger - Attach to JPDA This dialog box is displayed when you right-click a database connection name and select Remote Debug.
    Use this
    dialog box if you are using the Sun Microsystem's Java Platform Debugger Architecture (JPDA) and you would like the debugger to listen so
    that a debuggee can attach to the debugger.
    For more information about remote debugging, see Remote Debugging.
    Host: Name or IP address of
    the remote host on which SQL Developer should listen for the database to connect.
    Port: Listening port number on the remote host. You can
    choose any valid port number that is not in use by another process.
    Timeout: The number of seconds that SQL Developer will wait for the
    remote database to make a debugging connection. Don't Show Dialog Box Before Connecting: If this option is checked, this dialog box will not
    be displayed before future connections for remote debugging

    You're not the only one:
    Not able to start remote debug listener
    Re: remote debug question at version 1.1.0.23 64

  • How to do profiling in sql developer?

    how to do profiling in sql developer?
    also-can somebody plz suggest a gud site for information on pl/sql code profiling.

    You might want to ask your SQL Developer-related question in the SQL Developer forum: SQL Developer
    gud site for information on pl/sql code profiling.Online Oracle Documentation:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/tuning.htm#LNPLS01214
    and/or
    http://www.oracle-base.com/articles/9i/DBMS_PROFILER.php
    Edited by: hoek on May 19, 2010 12:55 PM

  • How to execute sqlplus command like 'show parameters '  in SQL Developer?

    Hi guys,
    here's another problem i just ran into, is it possible to run sqlplus cmd like 'show parameters ' in this tool? anyone can help? thanks in advance.

    thanks.
    and i just looked into the user guide and found that several sqlplus commands were unsupported in SQL Developer, including 'show '. i don't know why but anyway i get the answer, i can go back to use sqlplus itself.

  • How input korea in pl/sql developer

    I input korea in "the sql edit windows" of pl/sql developer 7 ,but it show "??"
    Could you tell me how to resovle this problem
    my os is windows XP ,oracle is 10.2.0.3
    my NLS_LANG=ZHS16CGB231280
    it should be store korea character.

    I had never heard of this either, but I think this is the web site: http://www.allroundautomations.nl/plsqldev.html.
    Perhaps you should review the product docs or contact support.
    Greg

  • Pl/SQL Error ORA-00904 not showing in Oracle SQL Developer

    Hi,
    I am new to Oracle and the various development tools available.
    Whilst using Oracle SQL Developer we have come across a scenario where a PL/SQL package does not compile, but only shows warnings in the compiler log.
    The same packeage when compiled using PL/SQL Navigator shows a much more detailed list of errors, and highlights the real problem.
    Why does Oracle SQL Developer not show the following error?
    PL/SQL: ORA-00904: "SERIAL_LINE_ID": invalid identifier
    Regards
    Adrian

    There are various settings you can give to messages. (eg, informational, warning, severe).
    Tools-PL/SQL compiler options.
    Normally, just the first 20 messages are displayed.
    Either change code to get rid of warning messages, or change settings to ignore informational and warning messages.
    P.S. There is a dedicated sqldeveloper forum where your question should really have been posted.
    Edited by: Keith Jamieson on Mar 9, 2009 1:45 PM

  • 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.

  • How to get the exact sql developer which used for data migration?

    Hi all,
    Hope doing well,
    Sir i seen a link for data migration that is : http://www.oracle.com/technetwork/developer-tools/sql-developer/sql-server-connection-viewlet-swf-089886.html
    in this link when they are connecting to sql database so after clicking on new connection four tab is showing that is oracle, access, my sql, sql server.
    i downloaded latest version of sql developer which version is: 3.02.09.30 when i opened this i am not getting those option.
    and one more thing i am not getting miragation menu name in menu items.
    please help me.
    thanks and regards

    Hi,
    To connect to non-Oracle databases from SQL*Developer youneed to download the relevant JDBC driver.
    This is detailed in the documentation in the User Guide -
    http://docs.oracle.com/cd/E35137_01/appdev.32/e35117.pdf
    in the section -
    Database: Third Party JDBC Drivers
    The Third Party JDBC Drivers pane specifies drivers to be used for connections to third-party (non-Oracle) databases, such as IBM DB2, MySQL, Microsoft SQL Server, or Sybase Adaptive Server. (You do not need to add a driver for connections to Microsoft Access databases.) To add a driver, click Add Entry and select the path for the driver:
    ■For IBM DB2: the db2jcc.jar and db2jcc_license_cu.jar files, which are available from IBM
    ■For MySQL: a file with a name similar to mysql-connector-java-5.0.4-bin.jar, in a directory under the one into which you unzipped the download for the MySQL driver
    ■For Microsoft SQL Server or Sybase Adaptive Server: jtds-1.2.jar, which is included in the jtds-1.2-dist.zip download
    ■For Teradata: tdgssconfig.jar and terajdbc4.jar, which are included (along with a readme.txt file) in the TeraJDBC__indep_indep.12.00.00.110.zip or TeraJDBC__indep_indep.12.00.00.110.tar download
    To find a specific third-party JDBC driver, see the appropriate website (for example, http://www.mysql.com for the MySQL Connector/J JDBC driver for MySQL, http://jtds.sourceforge.net/ for the jTDS driver for Microsoft SQL Server and Sybase Adaptive Server, or search at http://www.teradata.com/ for the JDBC driver for Teradata). For MySQL, use the MySQL 5.0 driver, not 5.1 or later, with SQL Developer release 1.5.
    You must specify a third-party JDBC driver or install a driver using the Check for Updates feature before you can create a database connection to a third-party database of that associated type. (See the tabs for creating connections to third-party databases in the Create/Edit/Select Database Connection dialog box.)
    Regards,
    Mike

  • How to connect from oracle sql developer ?

    I've made one java class, to access UserRecord Data Base from sql developer.
    My class file is :-
    import java.sql.*;
    import java.io.*;
    public class SelectData{
    public SelectData(){}
    public void selectData(){
              String url="jdbc:oracle:thin:@10.1.236.10:1521:dev92i";//connection url
         Connection con= null; //connection create
              Statement stat = null; //prepared statement create
              ResultSet rs=null; //result set to hold result
              try{
              Class.forName("oracle.jdbc.driver.OracleDriver");
              con = DriverManager.getConnection(url,"scott","tiger");
              stat = con.createStatement();
              rs = stat.executeQuery("select Name from UserRecord");
              while (rs.next()) {               // Position the cursor                 
                        // Retrieve the first column value
                        System.err.println("Name= " +rs.getString("Name"));
                        // Retrieve the first column value
                        System.err.println("Pswd= " +rs.getString("Password"));
              rs.close();
              catch(SQLException e){
                   System.err.println(e.getMessage());
              catch(ClassNotFoundException e){
                   System.err.println(e.getMessage());
              catch(Exception e){
                   System.err.println(e.getMessage());
              finally{     
                        try{
                        if(con!=null)
                             con.close();
                        catch(Exception e){
                             System.err.println(e.getMessage());
    public static void main(String args[]){
         SelectData sd=new SelectData();
         sd.selectData();
    When i run this class file it gives error :-
    "oracle.jdbc.driver.OracleDriver"
    Plz help me out from this problem and suggest any configuration if required in oracle sql developer to run my programs.

    {color:#0000ff}hi,
    add the jar for oracle jdbc to the libraries.
    if you are using any IDE then just change the project properties adding the jar file.
    if not edit the classpath of the envoirnment variables.
    {color}{color:#ff0000}*manik*{color}

  • How to re connect on SQL developer

    i am using SQL Developer 2.1.1.64 on a Windows.
    From time to time, the connection to the Oracle server will be reset.
    Is there a quick way to re establish the connection from the tab where I've the SQL statements?
    on SSMS, i would right click and pick connect on pop up.
    is there something simple like that in SQL devleoper?
    thanks.

    No. iWeb has no import function.
    iWeb stores all files under the domain.sites file found under User/Library/Application Support/iWeb/domain.sites. If you can't find this file and you never saved it then you will have to re-build your site from scratch in iWeb again, using your published site to cut and paste from.
    Remember to backup your domain file next time.
    Once you have done this, you won't make the same mistake twice.

  • Trigger information not showing up in SQL Developer

    I cannot get any "trigger" information to display in SQL Developer when I click on the "Triggers" tab for a table in which I KNOW has at least 1 DBA_TRIGGERS
    entry. Has anyone else experienced this ? Is this a bug ? I have the "patch 2"
    version installed. All other tabs give me output (e.g. Grants, Contraints, etc.).

    user524670,
    I'm sorry you feel we're not active on the forum, we're a small team ;-)
    There are a number of excellent responders on this forum and many questions have previous responses about bugs or ERs logged. Remember this is a community forum and I think it is doing exceedingly well as one.
    You can definitely log an SR with Support and ask them to give this priority. However, you'll have seen from earlier posts that the statement of direction for SQL Developer is now available. We do not plan to release a patch 3, as we are focused on release 1.1, due out in the next few months.
    Sue

  • How to debug package in sql developer?

    Hi,
    I need to debug one of procedures in my package in sql developer version 1.5.5. In Debugging log, I got the following:
    Connecting to the database <databasename>.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '2754' )
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    This session requires DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges.
    Process exited.
    Disconnecting from the database <databasename>.
    I have granted both DEBUG CONNECT SESSION and DEBUG ANY PROCEDURE user privileges from SYS as the following:
    GRANT DEBUG ANY PROCEDURE TO ESM_OWNER;
    grant DEBUG CONNECT SESSION to ESM_OWNER;
    However, I still get the same error. What did I do wrong? I really appreciate any help to solve my problem.
    Thanks in advance!!!
    Cindy

    I logged in as ESM_Owner. Now I got the following errors:
    Connecting to the database <databasename>.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '1131' )
    ORA-30683: failure establishing connection to debugger
    ORA-12541: TNS:no listener
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database <databasename>.
    Edited by: user13375135 on Sep 22, 2010 1:31 PM

  • How stop case changing in SQL developer editor

    Dear Friends,
    When I start editing in SQL developer(version 1.6), case i.e. formatting of words gets changed automatically.
    Is there any option to stop case changing.
    Thanking in advance
    Sanjeev

    Assuming you are on SQL Developer 2.1.X try unsetting
    Tools -> Preferences -> Code Editor -> Completion Insight -> change case as you type

  • How to view warning in SQL developer

    Dear experts,
    After I executed a script, in the output I got the following message:
    Warning: execution completed with warning
    How can I view the warning?
    Pardon my ignorance, regards,
    Valerie

    What are the contents of the script?
    If you're compiling PL/SQL, you should work through the PL/SQL Editor for getting the best results ("Edit" in the context menu of the object in the navigator).
    If you must work with scripts, you can always issue "SHOW ERRORS" at the end.
    Have fun,
    K.

  • How to show information from sql to flash cs6 in textbox

    I am having trouble with the showing of result of the information from sql to flash cs6 textbox which is dynamic text.
    I am using php to transfer the data to flash.
    I will like to show me the information in order like
    Name      score
    Tom        20
    Jack       10
    I already try reqVar.name + " " + reqVar.score and it does not work.
    And there is also 6 data in the sql to be formated like the top.
      function loginFunction(evt:MouseEvent):void
      var variables:URLVariables;
      var req:URLRequest;
      var loader:URLLoader;
      if (usertxt.text == "")
      resTxt.text = "Please enter your username.";
      return;
      if (passtxt.text == "")
      resTxt.text = "Please enter your password.";
      return;
      variables = new URLVariables();
      variables.username = usertxt.text;
      variables.password = MD5.hash(passtxt.text);
      req = new URLRequest("http://localhost:8088/classP/checkLogin.php");
      req.data = variables;
      req.method = URLRequestMethod.POST;
                loader = new URLLoader();
         loader.addEventListener(Event.COMPLETE,handleRes);
      loader.load(req);
      function handleRes(evt:Event):void
      var loader:URLLoader;
      var reqVar:URLVariables;
      loader = URLLoader(evt.target);
      reqVar = new URLVariables(loader.data);
      if (reqVar.result == "PASS")
      gotoAndStop(10);
      var req:URLRequest;
      req = new URLRequest("http://localhost:8088/classP/getScores.php");
      req.method = URLRequestMethod.POST;
                loader = new URLLoader();
         loader.addEventListener(Event.COMPLETE,handleRes3);
      loader.load(req);
      else
      {resTxt.text = "Login Failed";}
      function handleRes3(evt:Event):void //to show the output message when it is correct in user and pass
      var loader:URLLoader;
      var reqVar:URLVariables;
      loader = URLLoader(evt.target);
      reqVar = new URLVariables(loader.data);
    displaytxt.text = reqVar.name + " " + reqVar.score;

    1.ckeck your syntax: the last two closing brackets are coming out of nowhere.
    2.use trace commands in your eventhandlers to show if you get any results and if not use them as a hint where the error lies.
    for example:
    reqVar = new URLVariables(loader.data);
    trace("reqVar:"+reqVar);

Maybe you are looking for