Recommendations for SQL Commands page

Not certain if there is another forum to submit recommendations, however, a few items for the SQL Command screen that would be nice. Also apologies in advance if fixed in 3.1. I just registered for my beta account.
1) It would be nice if the "Save" and "Run" buttons stayed on-screen when you have a result set wider than the displayable page. Perhaps have the result set in its own scrollable (right-left) region so you can view results while still viewing or editting the query.
2) An option/checkbox that if enabled would, if nothing highlighted, check the cursor position (following Ctrl-Enter/Run) and execute everything up and down from your current line until the first blank line(s) as a single statement without having to highlight it prior to execution. This is similar to a number of 3rd party editors and makes the interface significantly faster and more useful. Note: I would not leave the statement highlighted if not previously highlighted, as typing fast might result in deleting the statement following execution.
3) The ability to paste simple scripts instead of requiring a file upload when using the Script mode of the SQL Command editor.
Thanks,
Barney

There has just been a post on the same subject - Question about Databases on a distributed environment...
If using a separate db/schema per product then it would depend on what products you are installing to how many you create.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • How to execute stored procedure in the SQL Commands page

    i'm oracle express edition newbie :) i have this stored procedure. it not belong to a package.
    create or replace procedure "LIST_MEMBERS"
    ("MEMBER_CUR" OUT SYS_REFCURSOR)
    is
    begin
    OPEN MEMBER_CUR FOR
    SELECT * FROM members;
    end;
    now, in the SQL Commands page, how to run the stored procedure and return the records. i do this:
    begin
    execute list_members();
    end;
    but i'm getting some errors. just need some immediate help :) thanks!!!

    Example of using a ref cursor:
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure open_cur(c IN OUT SYS_REFCURSOR) is
      2  begin
      3    open c for 'select rownum rn from dual connect by rownum <= 10';
      4* end;
    SQL> /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2    c     SYS_REFCURSOR;
      3    v_val NUMBER;
      4  begin
      5    open_cur(c);
      6    loop
      7      fetch c INTO v_val;
      8      exit WHEN c%NOTFOUND;
      9      dbms_output.put_line(v_val);
    10    end loop;
    11    close c;
    12* end;
    SQL> /
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    PL/SQL procedure successfully completed.
    SQL>

  • Any recommendations for a Start Page to replace iGoogle on my OS 10.4 system?

    Hi --
       I've gotten a good list of possibilities to replace iGoogle but am concerned about compatibility issues with my older OS - particularly with the strain on resources some techs have (at least) alluded to.  I'm not big into widgets but would like some flexibility like news headlines and the weather and the ability to transfer bookmarks.  Any suggestions?
       Thanks --

    If I have to, I'll use classic Google but realy hoping for something more/else/better - anyone use or know about NETVIBES or SITEHOOVER or SYMBALOO?

  • SQL Commands - uncheck autocommit hangs

    If i uncheck the 'Autocommit' flag in the SQL Commands page and execute any command, it hangs (even for a simple select statement).
    Is this a known problem ?

    Database parameter job_queue_processes must be set to a number > 0. See "Managing JOB_QUEUE_PROCESSES" in the Installation Guide.
    Scott

  • How to use lengthy query in a "SQL Command from Variable"

    My oracle SQL Query length is more than 14000 characters, so how can i use this for "SQL command from variable".
    Sarvan

    Either create a view or a table valued UDF. Using stored procedure in OLEDB source has some gotchas it will not pick up metadata information by default due to late binding.
    http://consultingblogs.emc.com/jamiethomson/archive/2006/12/20/SSIS_3A00_-Using-stored-procedures-inside-an-OLE-DB-Source-component.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SQL Command for deleting T-Code for roles

    Hi Experts
    I want to delete the transaction from the role name by using SQL Command in MS-SQL Server  instead of going to /npfcg -> zwa_xyz (role name for user) and transaction code is CR01,CR01,CA01 Etc.,
    I have so many transaction code which is taking time to delete one by one.
    So is there any SQL Statement to delete the t-code for that rolename
    Delete from tablename where t-code=xyz and rolename in ('zwa_xyz',zwa_123')
    regards

    Hey,
    SAP does not support executing update/insert/delete SQLs on their tables,
    (the only SQL they support are select, and updates that they publish in their official site, such as notes in service.sap.com/notes)
    is is probably due to the fact that sap contains about 30,000 of table,
    and sometimes SAP uses cluster tables (which are difficult to handle in DB)
    in addition, each and every SP adds/remove table or changes existing tables.
    For example, you probably don't know that changing rule, would
    create a change document (cluster table - CDHDR, CDPOS and etc),
    If you want, it is very easy to get the full list of the table (and the sql) that are updated
    (as I mentioned before, it is not recommended to run this sql, because it is not supported!!!)
    just run transaction ST05 while deleting transaction from role,
    when you display the list, press shift+F8 (or summerized trace from the menu),
    and they search (Ctrl+F) the words: update or insert or delete.
    You can use standard API such as BAPIs (such as BAPI_USER_*)/IDOCs(such as USERCHANGE),
    and execute them from the portal and any other place (even in EXCEL or OS->meaning command line).
    Here more information on executing RFCs:
    1. in order to execute an RFC from excel, you should install SAP gui on the client that would execute the RFCs to the SAP, and you would have to write VBA code.
    2. in order to execute an RFC from command line, this is a little bit more difficult,
    sap provide RFC sdk (in service.sap.com/SWDC)
    3. in order to execute an RFC from .net you can use the .net connector,
    more information is here:
    NW RFC SDK - is there a guide somewhere?
    4. You can also, execute an RFC using Web service,
    by creating web-service from the RFC in SE37.
    I guess It will take more time to develop this they just executing the SQL.
    If you need more information in executing an RFC,
    please decide which option is your favorite,
    and I would add information...

  • You want to know the amount of space the transaction log for the Customer database is using. Which T-SQL command would you use?

    You want to know the amount of space the transaction log for the Customer database is using. Which T-SQL command would you use?

    Forced me to do a little research.
    DBCC SQLPERF(logspace)
    See also
    http://stackoverflow.com/questions/198343/how-can-i-get-the-size-of-the-transaction-log-in-sql-2005-programmatically
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Syntax for calling html page in PL/SQL package

    Hi,
    I'm trying to call html page (stored on server) in my pl/sql package!
    I have already create html page in pl/sql package code and it's works fine.
    Now create better html page (interface design) and stored on server. I would like to call that stored html page in my pl/sql package.
    What is syntax for calling html page in PL/SQL or could you suggest me some literature.
    In first option I had created ces and stored it on server. Then I call it in pl/sql package like htp.p('<link rel="stylesheet" href="\download\table_style.css" type="text/css">');
    I try someting like that for calling html page but it doesn't works.
    htp.p('<link rel="form" href="\download\interface.htm" type="text/html">');
    Does anyone know syntax for calling html page in pl/sql?!?
    Thanks!

    hello
    I normally use htp.anchor(URL,linkname);
    it works
    ammar sajdi
    www.e-ammar.com/Oracle.htm

  • Alternative for EXEC command(Native SQL)

    Hi Friends,
             While Using the EXEC command in native sql it is showing the obselete Error  , Can  any one help  with giving the alternative for the commands for native SQl.
           Immediate

    In a Native SQL statement, data is passed between the ABAP program and the database using host variables. A host variable is an ABAP variable that is identified as such in the Native SQL statement by a preceding colon (:).
    Example
    Displaying an extract from the table AVERI_CLNT:
    DATA: F1(3), F2(3), F3(3).
    F3 = ' 1 '.
    EXEC SQL.
      SELECT CLIENT, ARG1 INTO :F1, :F2 FROM AVERI_CLNT
             WHERE ARG2 = :F3
    ENDEXEC.
    WRITE: / F1, F2.
    To simplify the form of the INTO lists in the SELECT statement, you can, as in Open SQL, specify a single structure as the target area.
    Example
    Displaying an Extract from the Table AVERI_CLNT:
    DATA: BEGIN OF WA,
            CLIENT(3), ARG1(3), ARG2(3),
          END OF WA.
    DATA  F3(3).
    F3 = ' 1 '.
    EXEC SQL.
      SELECT CLIENT, ARG1 INTO :WA FROM AVERI_CLNT
             WHERE ARG2 = :F3
    ENDEXEC.
    WRITE: / WA-CLIENT, WA-ARG1.
    Native SQL supports the directly-executable commands of your underlying database system. There are other special commands that you can use after the EXEC SQL statement for cursor handling, stored procedures (procedures stored in the database), and connections to other databases.
    Cursor Processing

  • Restrictions for using sql commands and operators in loader control file

    Hi ,
    It suppose that there is a lot of restrictions and limitations when using sql commands and operators in the loader control files, same as it seems I cannot use (or) when with case statement, also it seems there is certain length for the case,
    So guys, what are the common limitations and restrictions to be avoided in the loader control file ?
    Your efforts are highly appreciated
    Ash

    Hi Ash,
    if you need to do more complicated logic its better to define the file to be loaded as an external table. You can then use any sql function you like against the external table rather than messing around with what you can and can;t do in a sqlldr control file.
    You can use the external_table option of sqldr to generate the definition.
    Regards,
    Harry
    http://dbaharrison.blogspot.com/

  • SQL Command to Start/Stop SQL services for multiple server

    From Central server I want to Start/Stop SQL services and SQL Agent service. Is there any SQL command which I can execute on query analyzer which can Start/Stop SQL services?
    Rahul

    See command line options here using net start
    http://msdn.microsoft.com/en-IN/library/hh403394.aspx
    You can invoke them using xp_cmdshell from management studio as
    ie like below for default instance
    EXEC xp_cmdshell 'net start MSSQLSERVER'
    EXEC xp_cmdshell 'net start SQLSERVERAGENT'
    etc
    and below for named instance
    EXEC xp_cmdshell 'net start MSSQLSERVER$instancename'
    EXEC xp_cmdshell 'net start SQLSERVERAGENT$instancename'
    etc
    and use net stop for stopping services
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    EXEC xp_cmdshell 'net start MSSQLSERVER' EXEC xp_cmdshell 'net start SQLSERVERAGENT' etc
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • SSDT-BI for SQL Server 2014, Command line(silent unattendant automatic) installation script/steps

    Hi,
    I have downloaded SSDT-BI software and looking for commandline steps,config file for this.
    http://www.microsoft.com/en-us/download/details.aspx?id=42313
    Any one have Command line installations steps for SSDT-BI automatic(command line) installation for SQL Server 2014 with giving the files location,where to install.....etc, i mean config.xml.
    I found below but not sure it will work or not. If any one have working correct command line script, please reply on this forum.
    Looking for config.xml file, i searched online and did not find any where with clear config.xml file details.
    --Found below from link and not sure it will work or not
    http://blogs.technet.com/b/ilikesql_by_dandyman/archive/2013/03/10/how-to-automate-the-installation-of-sql-server-ssdt-office-2013-and-visual-studio-2012.aspx
    setup.exe /ACTION=INSTALL /FEATURES=SSDTBI_VS2012 /Q /IACCEPTSQLSERVERLICENSETERMS /norestart
    thanks in advance.

    Hi SQLDBA321,
    The SSDT-BI is automatically installed under xxx:\Program Files\Microsoft SQL Server\. Now matter in GUI or command line, we can't change the path. Because SSDT is a feature of SQL Server, not a feature of Visual Studio. It just use the Visual
    Studio Shell. So SSDT will only be installed with SQL Server.
    Reference:
    Install SQL Server Data Tools - Business Intelligence for Visual Studio 2013
    If you have any question, please feel free to ask. 
    Simon Hou
    TechNet Community Support

  • SQL Command code for multiple value string parameter

    Hi,
    I'm using crystal 2008 and there is a check box for multiple value  SQL Command  I need some help in writing the SQL Command code  for oracle (or sql server) for a multiple value STRING  parameter.
    Thanks in advance,
    Marilyn

    I could be wrong here, but I do not believe you can pass a multiple valued parameter to an SQL Command data source.  How I have gotten around this in the past is to put the "real" report into a subreport.  In the main report, create a formula field (basic syntax):
    formula = join({?parameter}, "|")
    Then, use this to pass the selected values to the subreport's parameter (call it {?sr-parm}).  The SQL Command in the subreport can then use that (MS SQL):
    select *
    from table
    where charindex(table.field, '{?sr-parm}') > 0
    HTH,
    Carl

  • Who stole the Oracle SQL Developer RPM for Linux Download Page!

    Guys,
    Who stole the Oracle SQL Developer RPM for Linux download page, everytime i try download the rpm all i get is the page can not be found Error 404!!!
    Not happy :-(

    Gents,
    Maybe yesterday's OTN download service problems are continuing today? Check this Community Feedback Forum announcement: [ Attention: Download Systems Issues|http://forums.oracle.com/forums/ann.jspa?annID=897|Doh!]
    Regards,
    John P.
    [http://only4left.jpiwowar.com|http://only4left.jpiwowar.com|Shameless plug for my low-volume blog]

  • Crystal Reports for Enterprise - SQL Command - Array Fetch Size

    We're attempting to migrate a report created in Crystal Reports 2013 Support Pack 3  Version 14.1.3.1257 to...
    Crystal Reports for Enterprise Version 14.1.3.1300 Build: 2013 Support Pack 3 Patch 1
    The originating report is successfully connecting and returning data from MySQL through the MySQL ODBC 3.51 Driver (3.51.30.00), using a SQL Command
    When opening up this report in CR for E and running the report against the same database and the same version of database driver, we get the following Crystal Reports error:
    Crystal Reports
    A problem was encountered
    The following error has occurred while trying to retrieve the data:
    Error on Fetch : Largevarchar and Largevarbinary data cannot retrieved as variable-length data if the array fetch size is not set to 1.
    Please check with your System Administrator that the data source is correctly configured.
    How would we check and where would we adjust the array fetch size within Crystal Report for Enterprise?
    Thank you

    Hi Vitaly,
    I had not yet tried creating a new report based on the query, within CR for E, but I did now upon your request\suggestion.  Yes, it fails as well with a brand new report..same new error as above: "Non Supported Datatype"
    I've pasted the SQL we are using below.  I just tried running this exact query natively through MyPHPAdmin, and also creating a brand new report with Crystal Reports 2013 against the same ODBC driver that I am trying to use within CR for E.  In both cases the query was accepted and ran successfully.
    Driver info:
    MySQL ODBC 3.51 Driver -  Version 3.51.30.00
    I have also tried 2 newer versions of the driver:
    MySQL ODBC 5.3 ANSI - Version 5.03.02.00
    MySQL ODBC 5.3 Unicode - Version 5.03.02.00
    ...where I also configure each within the Information Design Tool so that the "Array Fetch Size"=  1
    I receive the same "Non Supported Datatype" error for these drivers as well.  The MySQL server version is:  5.1.73-0ubuntu0.10.04.1-log
    Protocol Version: 10
    MySQL charset:  UTF-8
    Here is the query:
    SELECT ft.seq_id, ft.ticket_date, ft.posttotal,
    wl.name as current_approval_level,
    TIMESTAMPDIFF(DAY,ft.ticket_date,NOW()) AS Days_Since_TicketDate,
    TIMESTAMPDIFF(DAY,ft.date_created,NOW()) AS Days_Since_Created,
    TIMESTAMPDIFF(DAY,wph.workflow_date,NOW()) AS Days_Waiting_Your_Approval,
    ft.internal_comments
    FROM ticket AS ft
    LEFT JOIN unit AS unit ON (ft.unit_id = unit.id)
    LEFT JOIN unit_district AS udist ON (udist.unit_id = unit.id AND (udist.effective_date IS NULL OR udist.effective_date = 0 OR udist.effective_date <= ft.ticket_date)
           AND (udist.expiry_date IS NULL OR udist.expiry_date = 0 OR udist.expiry_date >= ft.ticket_date))
    LEFT JOIN workflow_document_process_map AS wdpm ON (ft.id = wdpm.document_id AND wdpm.document_type_id = 1)
    LEFT JOIN workflow_process AS wp ON (wp.id = wdpm.workflow_process_id)
    LEFT JOIN workflow_rule AS wr ON (wp.workflow_schema_id = wr.workflow_schema_id AND wp.workflow_level_id = wr.workflow_level_id AND wr.workflow_activity_id = 2  AND (wr.effective_date IS NULL OR wr.effective_date = 0 OR wr.effective_date <= ft.ticket_date) AND (wr.expiry_date IS NULL OR wr.expiry_date = 0 OR wr.expiry_date >= ft.ticket_date))
    LEFT JOIN workflow_rule AS wr2 ON (wp.workflow_schema_id = wr2.workflow_schema_id AND wp.workflow_level_id = wr2.workflow_level_id AND wr2.workflow_activity_id = 4 AND (wr2.effective_date IS NULL OR wr2.effective_date = 0 OR wr2.effective_date <= ft.ticket_date) AND (wr2.expiry_date IS NULL OR wr2.expiry_date = 0 OR wr2.expiry_date >= ft.ticket_date))
    LEFT JOIN workflow_process_history AS wph ON (wph.workflow_process_id = wp.id)
    LEFT JOIN ticket_attachment AS ftattach ON (ft.id = ftattach.ticket_id AND ftattach.attachment_type_id = 2)
    LEFT JOIN person AS p ON (ft.supervisor_id = p.id)
    LEFT JOIN person AS p2 ON (ft.head_office_contact_id = p2.id AND (p2.effective_date IS NULL OR p2.effective_date = 0 OR p2.effective_date <= ft.ticket_date)
           AND (p2.expiry_date IS NULL OR p2.expiry_date = 0 OR p2.expiry_date >= ft.ticket_date))
    LEFT JOIN person AS p3 ON (ft.sales_person_id = p3.id)
    LEFT JOIN person_company_sales AS pcs ON (p2.id = pcs.client_person_id AND pcs.company_id = ft.client_company_id)
    LEFT JOIN person AS p4 ON (ft.created_by = p4.id)
    LEFT JOIN person AS p5 ON (ft.well_site_supervisor_id = p5.id)
    LEFT JOIN division AS d ON (ft.division_id = d.id)
    LEFT JOIN district AS dist1 ON (ft.district_id = dist1.id)
    LEFT JOIN district AS dist2 ON (udist.district_id = dist2.id)
    LEFT JOIN company AS c ON (ft.client_company_id = c.id)
    LEFT JOIN province AS prov ON (ft.job_province_id = prov.id)
    LEFT JOIN ticket_attachment AS ftattach2 ON (ft.id = ftattach2.ticket_id AND ftattach2.attachment_type_id != 2)
    LEFT JOIN locale_currency AS lc ON (lc.id = ft.locale_currency_id)
    LEFT JOIN operation_type AS ot ON (ot.id = ft.operation_type_id)
    LEFT JOIN incident AS i ON (i.ticket_id = ft.id)
    LEFT JOIN invoice_type AS it ON (it.id = ft.invoice_type_id)
    LEFT JOIN workflow_level AS wl ON (wl.id = wp.workflow_level_id)
    LEFT JOIN company AS dist1_company ON (dist1_company.id = dist1.internal_company_id)
    WHERE 1
    AND ( pcs.sales_person_id = 2113 AND pcs.effective_date <= ft.ticket_date AND ( pcs.expiry_date >= ft.ticket_date OR pcs.expiry_date = '0000-00-00 00:00:00' OR pcs.expiry_date IS NULL) )
    AND ft.closed_flag <> 1 AND (wr2.id IS NOT NULL OR wr2.id != 0)
    AND ft.commit_flag = 1
    AND ft.dispatch_status = 0
    AND dist1_company.country_id = 1
    AND wr2.role_id = 2
    GROUP BY ft.id
    ORDER BY ticket_date ASC, ft.id ASC
    Thanks you for your help.

Maybe you are looking for

  • Error message downloading iTunes 8 to XP

    Recently I got an iPod touch and needed to update my iTunes on my computer so it would be compatible with my iPod. When I tried to update my iTunes to the latest version however, an error message popped up halfway through the installation that said:

  • G4 iBook and extended desktop

    I am using my G4 iBook to connect to a projector for presentations and have noticed that MS PowerPoint 2004 allows projecting of the current slide whilst I can see next and previous slides on my iBook screen. However in order to do this I have to swi

  • Using Ant with Oracle

    I am trying to create tables using Ant build scripts for deployment purposes. I am able to create the schema and the sequences. It seems to be able to create tables except for triggers. I cannot create triggers after creating the tables. Ant displays

  • Displaying OAF Based Workflow notification outside E-Business suite

    Hi All, We have a requirement of displaying a Workflow notification (OA based) on a portal without login into Oracle Applications. I am wondering if this is possible. The Oracle shipped Workflow notification Page is a Self-Secured page and I tried ac

  • What is my password for mozilla thunderbird?

    I cannot find my PW for Mozilla Thunderbird. I may have set up my MT account originally with <[email protected]> and not changed it to my current address, which is <[email protected]>. Thus I am not receiving messages from MT when I request a reset.