Query Builder & Worksheet

Hi all,
Is there a way to configure a distribution of sql developer with only the worksheet and query builder module? essentially just a visual "read only" sql query tool and nothing else.
-Wes

Hi Wes -
No, but maybe Fly Speed SQL Query (a free tool) would meet your needs for a limited SQL tool.
Note: For real security, read only access should be controlled via permissions granted to the database user, not the tool used.
Brian Jeffries
SQLDeveloper Team

Similar Messages

  • Possible bug: Query Builder deletes comments in Worksheet?

    Good morning,
    with Oracle SQL Developer 3.2.20.09 with included JDK on Windows 7 32 bit, we loaded a sql file containing a query with some comments (beginning with -- or /*).
    We formatted the sql code with the automatic format tool without any problem.
    But when we added or modified some criteria in the Query Builder, after saving the file the comments lines in the Worksheet are gone.
    Thanks for reading and best regards.
    Marco - Italy

    Hi Marco,
    Please note that SQL Developer has included a Query Builder from a third-party since the 3.0 release. I will ping the developer that acts as liaison; perhaps you will get a more definitive response. Until then, you may consider the response to one bug I logged concerning some complex SQL the Query Builder's parser did not properly handle:
    Query Builder is a visual environment targeted at novice/intermediate users. There are a number of advanced and/or hard to visualize language features that are not supported.*
    Perhaps the use case of opening an external SQL file (potentially large / complex / with comments) may go beyond the intended usage of interactive development for the novice/intermediate user.
    Regards,
    Gary
    SQL Developer Team

  • How to save my query made by Query Builder ? is it possible

    Do you know how to do it ?

    Hi!
    Create your query with Query Builder and click on APPLY. You get your Query in a SQL Worksheet were you can save it!
    Hope this helps!
    regards

  • SQL developer 3.0 - Few Query Builder issues

    Hi All,
    I have just started using SQL Developer 3.0 so have not fully browsed thru all of the available options in SQL Developer. I have been trying to work on creating and editing sql statements using Worksheet and Query Builder.
    I am working on to test this tool so I can give it to the users for them to try and use it - they used to work on the old Query Builder 6.0.7....since it is already de-supported long back to work against 11g database, I am hoping to tell them to use SQL developer 3.0 instead.
    Hence, if an user doesn't know how to write a sql statement, he/she would try to do the same using Query Builder.
    So, the following questions are more aligned towards a normal user who would try to create a query in the Query Builder window, instead of directly typing a sql statement in the Worksheet window.
    1) How to establish/create a relationship between tables after you have dragged down the tables into the Query Builder window? - i tried but couldn't get any options!.
    2) Sometimes I see 'Connection closed' error when i try to run a query. How to refresh the connection without opening a new Connection tab?
    - I tried this but evertytime it opens up a new connection tab, while the old tab is still present.
    3) Columns in the Expression field in Query Builder window can ONLY be displayed in the result set, if the 'output' box on the extreme left of the 2nd section in Query Builder window is checked.
    Now when i try to check the output box for an expression (with few aggregate functions), the 'Grouping' check box automatically gets checked, which when run throws an ORA-00934 error: group function is not allowed here...but when I de-select the 'Grouping' check box, the 'output' box also gets un-checked!.
    How to solve this out?
    Please let me know the resolutions of the above - much appreciated.
    With Regards,
    Pamir
    Edited by: user651047 on 11-Aug-2011 07:53

    Hi,
    As Raghu noted above, and you also saw in rp0428's following reply,
    Re: Problem with displaying sdo_geometry objects
    drilling down to the cell edit details is your only recourse for now. Apparently there will be further work done in this area, but it is not clear exactly what or when it will be. For those with access to it, here is a bug reference:
    Bug 13680849 - RC1: NOT DISPLAYING THE DATA OF MDSYS.SDO_GEOMETRY
    Regards,
    Gary

  • Save layout of queries in SQL Developer query builder?

    Sometimes queries are very complex and moving tables around in the graphical view is really helpfull to better understand them.
    Unfortunately this layout does not get saved with "save" (because this is a simple text file).
    Once upon there was a query builder (included with designer 2000 and later vom 1991 to 1998) that had a proprietary format (.brw) to just do that: Save a query including layout.
    Any chance to save the layout of SQL Developer query builder queries?

    I dont think there is any way to save the layout for the query, you can request an enhancement on the Exchange for this http://sqldeveloper.oracle.com/
    But if you only need to restore the query you are working with later, or move it to another workstation and continue editing using the query builder, you only need the SQL code generated; when you paste it in an opened worksheet (on the same database or even a clone with the same structure) the query builder is able to resume working just fine with default positioning for the table objects.
    If you hand edit the query and insert some SQL manually then the query builder may stop working for particularly complex statements, in this case it will warn you and disable itself.

  • How to use Query Builder in JDeveloper?

    I am not able to use Query Builder with JDeveloper version 11g 2.
    The online documentation about Query Builder:
    http://docs.oracle.com/cd/E35521_01/user.111230/e17455/db_tools.htm#OJDUG2380
    "To use Query Builder:
    Open the SQL Worksheet.
    Right-click and choose Query Builder."
    But when I right-click on the SQL Worksheet, there is no menu item "Query Builder".
    Does the documentation belong to a different version of JDeveloper?
    Edited by: Ralf_user4689599 on 06.05.2013 15:40

    all features of 11.1.2.3.0 are installed.
    It makes no difference wether I start studio developer or database developer role.
    There's no query builder in the context menu of the sql worksheet.

  • Configure "Query Builder" for Theta-Style Joins over ANSI-Style Joins

    Can SQL Developer be configured to auto generate theta-style joins instead of ANSI-style joins when building queries? This happens when I generate a query using the Query Builder and then switch over to the Worksheet tab to see the SQL code.
    Sample code:
    Theta-style join syntax uses commas to separate multiple table names and creates the joins in the Where clause:
    SELECT c.name
    FROM instructors i, courses c
    WHERE i.firstname = 'Mary' AND i.lastname = 'Williams'
    AND i.course_id = c.course_id;
    ANSI syntax uses the JOIN and ON keywords instead:
    SELECT c.name
    FROM instructors i JOIN courses c
    ON i.course_id = c.course_id
    WHERE i.firstname = 'Mary' AND i.lastname = 'Williams';

    Hi Wes,
    There is no preference for configuring this that I know of, but Query Builder is fairly clever about detecting your flavor of SQL from the worksheet then sticking with it. If you design it graphically, the default flavor is ANSI, but QB seems to respect any worksheet edits that switch it to another flavor. I wouldn't vouch for that absolutely, but perhaps it's behavior you can take advantage of.
    Regards,
    Gary
    SQL Developer Team

  • Can I turn off Autofit for tables in Query Builder?

    Using SQL Developer 3.2.20 and tabbing between the Query Builder and Worksheet always Autofits the height of the tables. Since the tables I'm using are in Enterprise Business Suite they have hundreds of rows making the graphical reprentation almost useless without resizing the table objects.
    Is there any way to turn off this "feature"?
    I am a new user of Query Developer and am using version 3.2.20.09.
    I copied in a sql statement, clicked the query builder tab, visualized my sql statements and resized all the objects so they were viewable. Then when I click on the Worksheet tab and then click on the Query builder tab again all my objects are autofit to the height of the table and it takes about 15 minutes to size them again so I can see all the joins in the gui display - which is the point of the graphical interface.
    Edited by: 969018 on Nov 1, 2012 2:13 PM

    Thank you for confirming what I suspected.
    If there was a workaround that allowed under the View menu to resize all objects to fit the current window, that would be an acceptable choice. It would seem if the box can be drawn to the maximum size that shows all the columns in the table, then maybe an easy override would be draw the table showing only one column??
    Do you work on the development team for SQL Developer?
    Another idea would be to be able to zoom out so the resizing of objects would be easier.
    Unfortunately your good suggestion of starting with Query Builder and finishing up requires more skill than I posses when working with many tables. I find it necessary to go back to the visual representation to understand all of my joins when I get many tables and then have a problem with my query. If only I could write it correct the first time.

  • 1.1 query builder join between tables

    In the latest Sql Developer.
    I invoke the query builder and select multiple tables that have foreign keys between them. These foreign key relationships appear in the diagram (good job).
    How do I make those relationship appear in the SQL that query builder returns to the sql worksheet. I shouldn't have to re-specify them on the where/criteria tab.
    It would be nice if these relationships are defaulted in the joining of tables.

    I overlayed the pre-release versionsDo you mean you installed in the same directory?
    Don't do that.
    There's a system directory (sqldeveloper\sqldeveloper\system) which holds settings and everything, which very well might be corrupted to be used for a newer release.
    Try deleting it, it will be regenerated at next startup. Or even better: re-install in another directory all together...
    K.

  • Migrating from Query Builder to Discoverer 10g

    Can any one suggest that is there any ways that end user can edit/modify the query as they can do it in query Builder,with out editing worksheets.
    Currently the queries were created by File->Import Sql option and granted access to users.Is there any provision for end users to change the query according to their needs and use it with out affecting other users?.

    Hi
    No this is not possible. Discoverer is a GUI tool and that is the way you have to edit the query. Having altered the GUI then Discoverer will rewrite the SQL.
    Most end users don't have a clue about SQL in the first place. The whole point of having a GUI front end to ad-hoc query tool is that users don't need to know SQL to build a query. The EUL further means the users don't need to know how the database is put together.
    People who use Discoverer to point directly at the database tables are missing the point of the EUL. The users of those systems are also missing out on the full functionality of the tool. This is why you don't manually edit the SQL behind a Discoverer worksheet.
    Best wishes
    Michael

  • EA4 Query Builder

    When I change from worksheet to 'query builder' tab my CPU goes up to 100% !
    furthermore is there no more 'where clause' tab for visual definition of the where clause ?

    I'm not seeing the CPU issue, it might be specific to your query.
    The 'where clause' - in the grid use the Criteria column. It appears the same for me in v3.2 as it does in 4.0

  • How to disable autojoins in query builder

    Hello,
    When I add several tables to the graphical query builder window in SQL developer I automatically get all possible variants of joins between them. Tables in the database have many foreign keys, and even with a few tables the net of links between them become completely incomprehensible. The only way around that I found is to delete manually all unneeded links after every table addition. Still this is very tedious and inconvenient, and of course with each new table there is a larger number of links to delete. Is it possible to add a table to the query builder without creating any links automatically?
    Best regards,
    Vladimir.

    Hi Vladimir,
    There are no preferences to control Query Builder, but rather than beginning a query there via drag & drop of tables/views from the Navigator tree, why not begin instead with the worksheet by typing in something very minimal like:
    SELECT * FROM JOB_HISTORY, JOBS, EMPLOYEES, LOCATIONSNext, switch to the Query Builder tab (just the un-joined tables will appear) and add the joins as you wish. The Completion Insight feature can help speed up typing the table/view names, and also avoids a minor performance issue with Query Builder drag & drop.
    Hope this helps,
    Gary

  • SQL Developer 1.1 Query Builder does not display connection tree

    I have installed SQL Developer 1.1 on a PC running Windows XP SP2. I am connecting to Oracle 9.2.0.7.0.
    After connecting to the database, I right click in the SQL Worksheet and select Query Builder and when the new window is displayed, there are no tables to select from.
    What is causing this?

    Hi Antony,
    Upgrading from SP7 to SP9 fixed a lot of problems for me! It's worth trying.
    Problems solved for me:
    Page requests take about 2 minutes to display page (now within a few seconds)
    KM SQL logging (30-50Mb per minute) problem fixed.
    There are some problems upgrading to SP9, but searching this forum will help you in finding some solutions for this
    Regards,
    Noel

  • SQL Developer 3.0 Query Builder Issue

    When compiling a query within the Query Builder I cannot execute the query - the RUN statement button is disabled. There also appears some "lagging" when building the query.
    Is this a bug within the SQL Developer 3.0?
    This has the potential to be an excellent tool. I am pleased that this version now gives you function to amend views.
    Edited by: user13116583 on Mar 31, 2011 2:48 PM

    Hi Marc -
    With respect to the "lagging" see Re: 30EA2 - Query Builder locks up when I select the tab. on design trade offs made during the 3.0 early adopter cycle.
    The run button should be enabled as soon as you type anything in the Worksheet or drag/drop anything on the Query Builder. Can you give me more detail on what you are doing/seeing?
    Brian Jeffries
    SQL Developer Team

  • Version 3.0.04: Query builder shows tables minimized

    When we save a SQL statement, and then re-open that file, the view of the SQL from the Query Builder tab shows the tables as "rolled-up", such that, you can only see the table name and the selection box which allows you to pull in all columns from that table. If you drag the bottom edge of the table downward, it just creates an empty box.
    You can copy & paste the SQL into a fresh editor window & keep working. So there's a workaround. Unless someone knows how to make the individual columns re-appear in the original Query Builder window?
    Thanks,
    --=Chuck

    Hi Chuck -
    I'[m assuming the query(ies) in question are of the form "select *". The Query Builder relies on a connection to the database to get the meta data about fields for the tables. Opening the file, then choosing the appropriate database in the connection drop-down at the right, then switching to Query Builder will show the fields.
    (Note that in the current version you must use that order [open, database, query Builder] (or after selecting database, go to worksheet & make a dummy edit [for example, erase/replace something] then switch back to Query Builder. This has been fixed for the next release.)
    Brian Jeffries
    SQL Developer Team

Maybe you are looking for

  • Problem with printing photos

    What do you do when you print a photo and it comes out with black lines all across it ?

  • Firefox won't display ANY videos, but Chrome/IE will.

    It's all in the title really. FF won't display any videos. In Youtube, the screen is black, apart from the red "play" button in the middle. When I click play it says "an error has occurred". In any other video sites the video section is blank, white.

  • Decision step with attachment

    hi my issue is i have kept a decision step where , i need to send decision step with attachment , i have done binding in the control tab ,of decision step like this & absence& --> &_ATTACH_OBJECTS& my attachemnet should be absence object. when i exec

  • Database License model for EBusiness Suite

    Hi, Oracle EBusiness Suite comes with its own Oracle database Enterprise Edition. 1) Can I use the same database to develop some internal applications (in a seperate schema) which will query (not Modify) data from EBusiness suite? 2) We are also plan

  • SBO - Finanzas

    Tengo como Moneda Local: MXP y Modena del Sistema: USD; cuando se genera cualquier documento en moneda local o del sistema se acumula en el campo Saldo Acuulado (MEST) una diferencia, por que?