SQL Query Editor Hangs Completely!

Hi,
I am working on Dell Precision 360,Windows XP with 512MB RAM.
Problem is Studio creator works almost well with the 512MB RAM(esp. by increasing the process priority),
but whenever I open the SQL Query Editor to edit a query it hangs completely.
I don't think it hangs due to memory shoratge problem.
what could be the reason or is their some other alternative ,coz whenever it hangs i have to manually kill the process due to which sometime some files get corrupted.

Hi,
The system requirements for Creator 2 can be found at:
ttp://developers.sun.com/prodtech/javatools/jscreator/features/sysreqs/index.html
As can be seen 1 GB RAM is required. At 512 MB the performance will be affected.
Cheers
Giri

Similar Messages

  • Sql Query Editor hangs

    Hi after attaching a table component in a jsp.....and the selecting the table from the datasource...... the Sql Query editor hangs when trying to click on the table-nameRowset entry in the outline..
    could anybody tell me what might be wrong

    Hi,
    The system requirements for Creator 2 can be found at:
    ttp://developers.sun.com/prodtech/javatools/jscreator/features/sysreqs/index.html
    As can be seen 1 GB RAM is required. At 512 MB the performance will be affected.
    Cheers
    Giri

  • SQL Query editor misbehaving

    SQL query builder does not allow LIKE criteria for selecting
    data, as in:
    SELECT ALL ROOT.PERSON.PERSONID,
                             ROOT.PERSON.JOBTITLE,
                             ROOT.PERSON.FREQUENTFLYER,
                             ROOT.PERSON.NAME
        FROM ROOT.PERSON
    WHERE PERSON.NAME LIKE ? ;I tried editing the JAVA code for my web form directly:
               personRowSet.setCommand("SELECT ALL ROOT.PERSON.PERSONID, ROOT.PERSON.JOBTITLE,
    ROOT.PERSON.FREQUENTFLYER, ROOT.PERSON.NAME
    \nFROM ROOT.PERSON\nWHERE PERSON.NAME LIKE ?");
    but as soon as I click on the SQL Query editor, eg. to add an output column, an error window pops up, and in the JAVA
    code the 'LIKE' statement becomes '='.
    I tried typing the 'LIKE' criteria in the SQL source code window,
    but I get the same behaviour: the JAVA source gets updated, but
    as soon as I return to the SQL Query editor, the error window
    pops up and the 'LIKE' statement is replaced by '='.
    Otherwise I found the way the IDE handles data table
    component binding to database data rather elegant.
    lovely work, guys!

    Nice to know that, thanks for the feedback.
    Please consider the "LIKE" operator a very powerful and useful SQL keyword, by means of which you can incorporate all kinds of expressions in order to build a comparison that is much like regular expressions.
    Whoever used the LIKE operator to select stuff is probably never give it away because it is so powerful and programmable with variables and all sorts of constructs - you can practically go after any "text" field with it and get it your way.
    I personally would rather have the EQUAL operator handle regular expressions directly - but I found LIKE easier and more viable to handle programmatically using variables/field contents as part of the search arguments. This ia also a limitation of SQL Server, Access, etc. - but you can't say that they didn't provide you with a suitable ersatz.
    So I guess supporting LIKE makes sense for Studio Creator...

  • Passing SessionBean variable to sql query editor

    Hi,
    I am trying to pass a variable that I define locally in SessionBean to sql query via the query editor.
    SELECT ALL comments.id,
                        comments.comment,
                        comments.comment_date
    FROM comments
    WHERE comments.id = **SessionBean1.id**How do I specify **SessionBean1.id** in the WHERE clause?
    Thanks for your help.
    --izumi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Use this SQL query:
    SELECT ALL comments.id,
                        comments.comment,
                        comments.comment_date
    FROM comments
    WHERE comments.id = ?Then in the page that uses this (wherever the query is executed) provide the variable value with:
    <your row set name>.setObject(1, getSessionBean1().getCommentId());

  • SQL query editor and "like" with a parameter (can't get it to work).

    I've been following all sorts of directions on how to use mysql a table and modifying the query to accept a parameter, funny thing is no matter how I try to construct the simplest query, the query editor does not parse the query properly when using the "LIKE" statement.
    Using 3.11 and/or 3.12 of the J/connector with no success.
    I am using a query that resembles the following:
    select all table.fieldname, table.fieldname2 from tablename where table.fieldname like '%?%'
    It parses correctly but the code when run can not find the parameter as it reports the number of paramenters as being incorrect.
    I have tried these varriations of the "like" statement.
    '%?%' - expected this to work, it parses correctly but errors out claiming invalid number of parameters.
    %?% - without quotes causes parsing errors.
    '?' - parses correctly but isn't the correct query.
    ? - again without quotes causes parsing errors,even if it did it isn't the correct query.
    If I set the query to use a value instead of a parameter - it works fine.
    Hints? Suggestions? Bug?
    Thanks in advance.

    Hmm, try use
    select ... like ?
    And path this kind of string as the parameter to your query
    String findCriteria = "what you are looking for";
    String parameter = "'%" + findCriteria + "%'";Roman.

  • Is there any Sql Query Editor in SAP

    Is There any Option to write the sql query .
    like sql plus or toad in oracle.

    What is the transaction code for that.
    with out writing ABAP code i need to browse the table is it possible in SAP?

  • SQL Error in Query Editor

    Hello All,
    I am new to the Sun Java Studio Creator and in the tutorial Linking Components to Data tutorial.
    I created my own datasource which is a MS Access database.
    I have a simple look up table and I dragged the table onto the dropdown list as instructed and nothing happened. The dialog box the tutorial said would appear didn't appear.
    So I right clicked on the rowset added on to the page to get in the Query Editor.
    When opening the Query Editor, I get an error:
    Error Connecting to Database:
    java.sql.SQLException:[Microsoft][ODBC Driver Manager] does not support this function
    The SQL reads in the editor is something like this:
    SELECT ALL tableName.Column 1 FROM tblName
    Why does it automatically put the "All". Is that standard SQL? I don't think so. But I guess I could be wrong.
    I have not seen this used in other SQL. I've used T-SQL, PL/SQL, ACCESS SQL and never had I seen the "ALL" preceding the columns of the table.
    Quite frustrating when something as simple as a simple SELECT statement does not work when you're trying to learn a new tool.
    When adding the datasource, the test connection is fine. The query editor sees all of my tables in the MS Access database and all of the added table's columns.
    Am I missing a driver, or update to a driver? Or is this Sun's way of saying "Screw Your Microsoft database use something that we want you to use!!"
    Which is not pretty cool.
    I'm a newbie with this tool, but I have been coding for a while using MICROSOFT products. And have not had the same problems as this. Or at least getting help through documentation.
    I'm just venting here. I want to learn this tool. And when simple processes doesn't work. And documentation in why it's now working is hard to find, it gets quite frustrating.
    Anyone's help would be greatly appreciated.
    I truly appreciate your time for reading through my frustration.

    Hi,
    Please check the driver and also take a look at the link for "Supported Database Servers and JDBC Drivers"
    http://www.sun.com/software/products/jscreator/sysreq.xml
    regards
    MJ

  • Sql Query taking very long time to complete

    Hi All,
    DB:oracle 9i R2
    OS:sun solaris 8
    Below is the Sql Query taking very long time to complete
    Could any one help me out regarding this.
    SELECT MAX (md1.ID) ID, md1.request_id, md1.jlpp_transaction_id,
    md1.transaction_version
    FROM transaction_data_arc md1
    WHERE md1.transaction_name = :b2
    AND md1.transaction_type = 'REQUEST'
    AND md1.message_type_code = :b1
    AND NOT EXISTS (
    SELECT NULL
    FROM transaction_data_arc tdar2
    WHERE tdar2.request_id = md1.request_id
    AND tdar2.jlpp_transaction_id != md1.jlpp_transaction_id
    AND tdar2.ID > md1.ID)
    GROUP BY md1.request_id,
    md1.jlpp_transaction_id,
    md1.transaction_version
    Any alternate query to get the same results?
    kindly let me know if any one knows.
    regards,
    kk.
    Edited by: kk001 on Apr 27, 2011 11:23 AM

    Dear
    /* Formatted on 2011/04/27 08:32 (Formatter Plus v4.8.8) */
    SELECT   MAX (md1.ID) ID, md1.request_id, md1.jlpp_transaction_id,
             md1.transaction_version
        FROM transaction_data_arc md1
       WHERE md1.transaction_name = :b2
         AND md1.transaction_type = 'REQUEST'
         AND md1.message_type_code = :b1
         AND NOT EXISTS (
                SELECT NULL
                  FROM transaction_data_arc tdar2
                 WHERE tdar2.request_id = md1.request_id
                   AND tdar2.jlpp_transaction_id != md1.jlpp_transaction_id
                   AND tdar2.ID > md1.ID)
    GROUP BY md1.request_id
            ,md1.jlpp_transaction_id
            ,md1.transaction_versionCould you please post here :
    (a) the available indexes on transaction_data_arc table
    (b) the description of transaction_data_arc table
    (c) and the formatted explain plan you will get after executing the query and issuing:
    select * from table (dbms_xplan.display_cursor);Hope this helps
    Mohamed Houri

  • SQL Query to find the Notify upon Completion employees

    Hi,
    I am looking for a query to find the names of the employees/users who are notified upon the completion of the Concurrent Programs. I know how to find the concurrent program details but not able to find notify upon completion employees details. Please help me.
    Thanks,
    KM

    Thanks Scott for responding. There is no any custom code. Here is the navigation to reach there:
    System Administrator -> Requests -> View -> Specific Requests -> Open any request ->View Details -> Options -> Notify the following people
    I am looking for the query to find these notified people using SQL Query.Query FND_CONCURRENT_REQUESTS table (NOTIFY_ON_PP_ERROR column) -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_CONCURRENT_REQUESTS&c_owner=APPLSYS&c_type=TABLE
    Thanks,
    Hussein

  • Getting session hang When calling Function from SQL query

    Hi All,
    I am using Oracle 8.1.7.4.0. I have a fucntion in a Package and I am calling it from the SQL query. When I am firing the query my oracle session is going to hang position and I am not able to any thing. I have to kill the session.
    But this same thing is working fine in Oracle 9.i.
    There are no out parameter and no DML, DDL and DCL statement in this fucntion.
    Could you please get back me what is the problem on it.
    Regards
    SUN

    Check why your session hangs.
    Just a few ideas:
    * Blocking locks?
    * Endless loop?
    * Performance (maybe it is just slow in orac8i and you have to wait a bit longer). Check the execution plans of the SQL statements in your function.
    * Don't use a function, but direct SQL, it is faster in both versions.

  • Problem with SQL query never completing

    Right I have a piece of code which executes an SQL query but no matter what I do the program always hangs whenever it gets to the SQL execute line, I have tried using stmt.execute, executeUpdate and executeQuery and none work.
    I can however connect to the database directly and run the same query and it works fine, would be really grateful for some help.
    Code snippet is below, and works is never printed to the command line.
           SQLString = "INSERT INTO TH.OUTPUT_DATA_SNAPSHOT_HDR_TH " +
                    "( EXEC_DATE, USER_ID, OUTPUT_STYLE, OUTPUT_DATE, " +
                    "OUTPUT_FILENAME, SPARE_CHAR_01, SPARE_CHAR_02, " +
                    "SPARE_CHAR_03, SPARE_CHAR_04, SPARE_CHAR_05, " +
                    "SPARE_CHAR_06, SPARE_CHAR_07, SPARE_CHAR_08, " +
                    "SPARE_CHAR_09, SPARE_CHAR_10, SPARE_DATE_01, " +
                    "SPARE_DATE_02, SPARE_DATE_03, SPARE_DATE_04, " +
                    "SPARE_DATE_05, SPARE_DATE_06) " +
                    "VALUES " +
                    "('" + OutExec_Date + "', '" +                     // Exec_Date
                    String.valueOf(DatabaseProperties.AppUserID) +     // User ID
                    "', '" + OutputStyle + "', " +                     // Output_Style
                    "'" + OutputDate + "', " +                         // Output_Date
                    "'" + GlobVarStore.CopyInvDirectory + "', "+       // Output_Filename
                    "'', " +                                           // Spare_Char_01
                    "'', " +                                           // Spare_Char_02
                    "'', " +                                           // Spare_Char_03
                    "'', " +                                           // Spare_Char_04
                    "'', " +                                           // Spare_Char_05
                    "'', " +                                           // Spare_Char_06
                    "'', " +                                           // Spare_Char_07
                    "'', " +                                           // Spare_Char_08
                    "'', " +                                           // Spare_Char_09
                    "'', " +                                           // Spare_Char_10
                    "'" + OutputDate + "', " +                         // Spare_Date_01  - Must not be null
                    "'" + OutputDate + "', " +                         // Spare_Date_02
                    "'" + OutputDate + "', " +                         // Spare_Date_03
                    "'" + OutputDate + "', " +                         // Spare_Date_04
                    "'" + OutputDate + "', " +                         // Spare_Date_05
                    "'" + OutputDate + "'" +                           // Spare_Date_06
           Statement stmt = DatabaseProperties.DBConnection.createStatement();
           System.out.println(SQLString);
           stmt.executeQuery(SQLString);
           System.out.println("works");

    Right I didn't know what a prepared statement was so have done a bit of research and come up with the following code, seems to give same error.
    I know the connection is working because other SQL code is executing in program before it gets to this point, have included the actual SQL statement as well.
    Cheers for your help
           try
              PreparedStatement prepStmt = DatabaseProperties.DBConnection.prepareStatement("INSERT INTO TH.OUTPUT_DATA_SNAPSHOT_HDR_TH ( EXEC_DATE, USER_ID, OUTPUT_STYLE, OUTPUT_DATE, OUTPUT_FILENAME, SPARE_CHAR_01, SPARE_CHAR_02,SPARE_CHAR_03, SPARE_CHAR_04, SPARE_CHAR_05,SPARE_CHAR_06, SPARE_CHAR_07, SPARE_CHAR_08,SPARE_CHAR_09, SPARE_CHAR_10, SPARE_DATE_01,SPARE_DATE_02, SPARE_DATE_03, SPARE_DATE_04, SPARE_DATE_05, SPARE_DATE_06) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,?, ?, ?, ?, ?, ?, ?, ?, ?)");
              prepStmt.setString(1,OutExec_Date);
              prepStmt.setString(2, String.valueOf(DatabaseProperties.AppUserID));
              prepStmt.setString(3,OutputStyle);
              prepStmt.setString(4,OutputDate);
              prepStmt.setString(5,GlobVarStore.CopyInvDirectory);
              prepStmt.setString(6,"");
              prepStmt.setString(7,"");
              prepStmt.setString(8,"");
              prepStmt.setString(9,"");
              prepStmt.setString(10,"");
              prepStmt.setString(11,"");
              prepStmt.setString(12,"");
              prepStmt.setString(13,"");
              prepStmt.setString(14,"");
              prepStmt.setString(15,"");
              prepStmt.setString(16,OutputDate);
              prepStmt.setString(17,OutputDate);
              prepStmt.setString(18,OutputDate);
              prepStmt.setString(19,OutputDate);
              prepStmt.setString(20,OutputDate);
              prepStmt.setString(21,OutputDate);
              System.out.println(prepStmt.toString());
              prepStmt.executeUpdate();
              System.out.println("works");
           catch(SQLException SQLe)
              SQLe.printStackTrace();
    INSERT INTO TH.OUTPUT_DATA_SNAPSHOT_HDR_TH ( EXEC_DATE, USER_ID, OUTPUT_STYLE, OUTPUT_DATE, OUTPUT_FILENAME, SPARE_CHAR_01, SPARE_CHAR_02, SPARE_CHAR_03, SPARE_CHAR_04, SPARE_CHAR_05, SPARE_CHAR_06, SPARE_CHAR_07, SPARE_CHAR_08, SPARE_CHAR_09, SPARE_CHAR_10, SPARE_DATE_01, SPARE_DATE_02, SPARE_DATE_03, SPARE_DATE_04, SPARE_DATE_05, SPARE_DATE_06) VALUES ('09/09/2009', '200', 'INVOICE', '16/09/2009', 'C:\Users\aaronh\DOC20090916163456.txt', '', '', '', '', '', '', '', '', '', '', '16/09/2009', '16/09/2009', '16/09/2009', '16/09/2009', '16/09/2009', '16/09/2009')

  • Execute SQL Task Editor: The query failed to parse. Syntax error, permission violation, or other nonspecific error.

    Environment: SQL Server 2008 R2
    Code:
    CREATE TABLE dbo.PkgAudit
    PkgAuditID INT IDENTITY(1, 1),
    PackageName VARCHAR(100),
    LoadTime DATETIME ,
    NumberofRecords VARCHAR(50),
    Status1 VARCHAR(50),
    Status2 VARCHAR(50),
    The following code is inserted in the SQL Task Execute Editor
    INSERT INTO dbo.PkgAudit(PackageName
    ,LoadTime
    ,NumberofRecords
    ,Status1
    ,Status2
    ) VALUES(?,?,?,?,?)
    Screen Shot (Parameter Mapping):
    Problem: an error Message occurred when I hit Parse Query Button in the Execute SQL Task Editor, "Execute SQL: Task Editor: The query failed to parse. Syntax error, permission violation, or other nonspecific error". How I could Solve this
    problem  

    Different connection providers require different Parameter syntax. E.g. ADO @ParameterName notatoin, not just an offset of 0,1 etc.
    Arthur My Blog

  • Complete novice needs help getting SQL Query into Crystal Reports XI

    Post Author: MissMarnie
    CA Forum: Data Connectivity and SQL
    So I was given an intro level web course and a monster reference guide in prep to format a report. One of our developers wrote me everything I need for the report into a SQL Query and now I'm supposed to format it in CR XII literally do not know what to do from here. I'm able to set up the correct server as a datasource, if that's useful, but I don't know how to make the querey into a bunch of formattable fields in  CR. If anyone can walk me through this, I'd be so grateful. I've attempted to look up SQL query in both the help and the book but I keep hitting a wall. The help dialog says things like "press this button" with no reference to what "this button" is. I'm sure it's obvious to the knowledgeable but I'm in a complete fog. Thanks in advance   

    Post Author: synapsevampire
    CA Forum: Data Connectivity and SQL
    IF you're trying to get assistance with setting up a query as the source for a report, try posting your Crystal version and the database type.
    Different software works differently.
    In CR 9 and above, under the connection to the database you'll see Add Command. Select that and you can paste the query in.
    As for not knowing how to generate a report, that requires experience, there's no generic solution of course..
    -k

  • SQL query execution in DB02 hangs if record set is more than 50000

    Hi,
    We are facing issue in a report performance. The return is using native SQL query.
    There are custom views created ar database level for pricing/maetrial and stock. The native sql query is written on these views. The report takes around 15 mins to run in background .
    We are trying to analyse the native SQL query through DB02. I tried fetching records for one particular
    custom view to make out if its indexing issue or something else.When i using TOP 35000 records with select query runs fine with this dataset or less than this . If i increase it to 40000 system doesn;t show anything in SQL ouptut. And above one lakh records system gives timeout.
    The count in this view gives some 10 lakh records which I don't feel is v.v.huge that query that too native sql takes so much time.
    Any help on this will be highly appreciated.
    Regards
    Madhu

    what do you expect from that poor information.
    do you change data or onyl select.
    If you use SAP and ABAP, then you should also use Open SQL.
    Otherwise it is possible to run the SQL Trace with Native SQL, it is anyway only Native SQL, what the trace sees.
    Use package size and it will probably work fine.
    Siegfried

  • Text area with html editor based on sql query

    Hi all,
    I am trying to create a text area with its contents loaded from a sql query returning a blob field.
    I gave the query
    select blob_field from file_subjects where id=41; in the item source valueI am getting an error in the display page like
    ORA-00932: inconsistent datatypes: expected NUMBER got BLOB
         Error      ERR-1019 Error computing item default value: page=5 name=CONTENTS.
    where am i goig wrong..?
    should i go for a pl/sql instead?

    Venket,
    See my previous thread on this (Well I used CLOB rather than BLOB). You will find code examples too. Should be just what you need.
    How to "Bypass" HTMLDB
    -Joe

Maybe you are looking for

  • Error -00904 when trying to load from teradata into oracle

    Hi all, We are trying to bring some data from a teradata table into an oracle table. We have followed the correct naming conventions for all staging and target tables. We always seem to get this error: error -00904 invalid identifier I know it relate

  • Merge PDF in BIP standalone

    Dear Forum Users, Can you please have a look at the following situation; - There's is an existing PDF file in a document management system, which is accessible by an hyperlink like; http://www.localhost.nl/drawing.pdf - I have the location in my XML

  • Not able to see all the SAP tables from CR 2008

    Hi All, 1)I am not able to see all the SAP database tables(DEV server) from Database expert menu in CR 2008. Only tables those start with alphabet letters upto A & B are visible. I checked the database connection>right click>options> found no filters

  • Problem installing 10.1.3.1 Developer Preview

    Anyone else run into this problem? When trying to install SOA Suite 10.1.3.1 the installer gets to the "Oracle Process Management and Notification Configuration Assistant" and hangs at the opmnctl reload step. I've tried to manually run opmnctl reloa

  • Network

    I have a wireless HP printer and I am hooked up to the network set up by ATT but the printer is not responding. What do I do?