Why SQL Developer?

Hi,
Would you be able to demonstrate why people should use Sql Developer when compared with other products like MS-Access and TOAD apart from the fact that SQLDeveloper is free? Like for example, MS-Access needs ODBC whereas SQLDeveloper uses JDBC may be? and which one is better performance wise or is there any advantage or disadvantage in using either one of them? Just assume that it's probably a marketing talk, but how would you convert/convince people who are so used to using MS-Access or any other product for that matter to use SQL-Developer?
Thanks,
Magesh.

That's your opinion, it's not a factBy all means
Do you mean Access can just be use as a GUI Client of Oracle ?Well yes, using the ODBC driver, and it's actually quite fun... for the simple stuff. Big queries, more complicated updates and such soon get to the disaster department.
My question was about developpementWhat I like best is the debugger. Though it still has some glitches (like it still doesn't get those line numbers right in all situations), it's the best I've used for Oracle. If you're on 10g, as far as I know it's the only one that uses the new debugger (others still use the "probe" debugger).
I've had my share of disagreements with Toad's debugger, and switching to sqldev made me go: sweet!
The PL/SQL editor has nice syntax colour capabilities, bracket matching, search/replace, shortcuts, snippets, well... just about anything to keep a developer happy. All but the still very deficient code formatter and file based editing, in which Toad definitely sticks out some neck lengths.
Concerning the DDL nodes (tables, etc.), both are pretty much the same, although Toad is still faster and in general more accurate, and offers a tabbed interface in addition to the tree (which often needs trimming in sqldev).
But again: that's something you'd have to discover by yourself, these are my two cents...
K.

Similar Messages

  • Why SQL Developer (aka Raptor)?

    Do we really need another graphical IDE for Oracle? Oracle itself has JDeveloper, OEM variants.
    There are tons of very capable tools out there, some of them even free (Allround Automation PL/SQL Developer, etc)
    So, why another one? TOAD is pretty feature rich, the latest TOAD version has so many features I stopped counting.
    What can it possibly have that is different to offer? The same Schema/object browser, DDL extract, run/edit scripts, etc, the same old stuff. Heck, even HTML DB 2.0 has pretty good IDE features in its SQL Workshop.
    Thanks.

    I guess my question really boils down to the age-old "fight" between the CLI and GUI paradigms.
    IMHO, the biggest advantage CLI has over a GUI is that it can be used in ways
    that the GUI designer didn't intend. A GUI is designed to have a pre-determined
    number of menus, drop downs, commands, tabs, etc. Fixed at design-time,
    unchangeable by the end-users.
    [Unfortunately, the Firefox XUL concept doesn't seem to have caught on much outside of Mozilla]
    On the other hand, Unix commands and scripts have a different philosophy (more
    powerful than a GUI, IMHO). Expose a set of low-level tools that can
    be combined and mix-n-match in various ways.
    For example, show me the 10 largest tables in the following schema and generate
    DDL for them. If I had (hypothetical) scripts for each of the above components
    like, for instance,
    $ user_segments -sort=size schema.% | head -10 | xargs -n1 get_ddl
    Clearly, this is much more powerful than any GUI can ever be. Given the right set of low-level scripts (building blocks), and the power of Unix, the productivity of this approach is phenomenal.
    Just my 2c.
    Message was edited by:
    Vikas

  • SPOOLing in sql developer does not take into consideration SET ECHO OFF

    I'm running SQL Developer 3.1.07.42 on Windows 7 64 bit with java 1.7
    I have the following very simple script just to show the problem:
    SET ECHO OFF;
    SET FEEDBACK OFF;
    SET SERVEROUTPUT ON;
    SET VERIFY OFF;
    SET PAGES 0;
    SET HEAD OFF;
    SPOOL c:\test.sql
    SELECT 1, 2, 3 FROM DUAL;
    SPOOL OFF;
    /if I run it in TOAD 10.6.0.42 it creates the file with
             1          2          3This is as expected (by me)
    if I run the exact same query in SQL Developer 3.1.07.42 , it creates the file with:
    < SELECT 1, 2, 3 FROM DUAL
    1 2 3(the < above is actually ">" but the CODE formatting software is screwing ">")
    but I don't want the ECHOed command to be spooled. For the life of me, I cannot find a way to disable the ECHO from spooling in sql developer.
    Tried the same in 3.0.4 and 2.1.1 with the same (bad) result (plus some warning on some of the unsupported SET commands).
    Am I missing something obvious? Cause like this, the spool command cannot be used in sql developer to generate a CSV file for example, because of the echoed command. And windows doesn't come with SED by default so that is out. (plus that my original script is integrated into a much larger and complex set of scripts and the main script using them is executed from SQL Developer as a company policy (so that everybody uses the same tool and the code runs the same for everybody))
    Any ideas/suggestions are welcome
    Thanks.

    Hi Gary, you seem to have some extensive knowledge. I'd like to follow-up on this thread and try to understand why SQL Developer won't hide the code even though I'm already running the code as a Worksheet (I assume you mean Run Script F5 button in SQL Developer).
    I generally develop in SQL Developer that does a lot of dbms_output to echo data using a Spool command. When I'm in SQL Developer I can't get the code NOT to spool, it typically is echoed directly in the spool file at the top followed by the dbms_output data. If I save the sql file and run in in sqlplus it only outputs the data (good). If I use @C:\xyz_script.sql and hit F5 in SQL Developer it only outputs the data (per your previous answer) -- good.
    So why can't I hit F5 in SQL Developer in the script file and have it only output the data? It just doesn't work no matter how many "SETs" you turn-off.
    Looks like Echo, Term, Feed are supported in SQL Developer, maybe supported means something other than work.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/sql-worksheet-commands-097146.html

  • SQL Developer does not support Oracle 8i

    Hi,
    I was waiting a tool from Oracle like SQL Developer for a long time, finally it came, but I am a little disapointed, so Why SQL Developer does not support Oracle 8i? Other free tools like SQUIRREL can do it. I also have worked in previous projects using PL/SQL Developer and it works fine...Why a native Oracle tool can not do it?
    I am in a project where we have to upgrade the Oracle database to a newer version, but I cannot have access to the old one...
    I know there are some threads in this forum, and some people can work with 8i with no issues. Can anyone who works with SQL Developer and Oracle 8i please tell me how to do it?
    Thanks,
    --Javier
    Edited by: javierlarota on Dec 9, 2009 5:40 AM
    Edited by: javierlarota on Dec 9, 2009 5:41 AM

    That's what I thought, the issue is more commercial ($$$) than technical. Anyway...I downloaded the version 1.1 but now I am getting an ORA-02248: invalid option for ALTER SESSION error. 00604. 00000 "error occurred at recursive SQL level %s".
    Thanks,
    --Javier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • SQLPATH environment variable not read by Sql Developer

    Does anyone know why Sql Developer doesn't seem to read the SQLPATH environment variable? I've googled this situation quite a bit with no luck. Am frankly very confused...How can Sql Developer not have the ability to read from the SQLPATH environment variable?
    Considering all the scripts out there that have been written for Sql*Plus, with the assumption that the SQLPATH variable has been set to allow for multiple directories?
    I feel like I'm just missing something in Tools->Preferences in Sql Developer. I just can't see what it is. As a side note, my overall intention is to enable my team members to run the db build scripts from Sql Developer, rather than Sql*Plus...
    Thanks in advance.

    Hi 917092 ,
    Gary Graham wrote:
    Hi,
    The closest equivalent is Tools|Preferences|Database|Worksheet|Select default path to look for scripts, but supports only a single directory.
    This parameter takes multiple directories. For example in Windows the separation character is ";" . The chooser only allows one directory to be chosen at a time - but multiple paths can be typed in.
    SQLPATH reads the environmental variable (it may not read the windows registry setting).
    set SQLPATH=C:\Documents and Settings\THE_USER\first;C:\Documents and Settings\THE_USER\second
    @first
    (reads first.sql from C:\Documents and Settings\THE_USER\first)
    @second
    (reads second.sql from C:\Documents and Settings\THE_USER\second)
    Is that sufficient?
    If there is a bug to be logged please provide more details:
    Including:
    -OS
    -SQLPATH (environmental variable or set via preferences)
    -worksheet command
    -.sql file / reproducible test case
    -output
    -expected output
    Turloch
    SQLDeveloper Team

  • Sql Developer and Data Guard enabled instance

    I have version 1.1.2.25 SQL Developer and when I try to connect to Oracle 10gR2 instance which is data guard enabled and its logical standby it spits few message, and then connects, but data is not visible from any table.
    Is there any way to see data and other code while in logical standby instance which only in read only mode?
    Thanks.

    This problem came when I tried to connect to Oracle
    instance which is a logical standby in data guard
    setup. Eventually connection is made and then you can
    not see any object.
    In logical standby database its suppose to be read
    only and should be available for query.
    In TOAD you can see every thing and when you want to
    make any change ,it spits an error and wouldn't allow
    you to make any change.
    My question was, why SQL Developer is not showing the
    objects in the list and its contains.Perhaps we could help you if you told us what the error was.

  • SQL Developer 1.5.1 - Sorting Table / List of Columns - Why So Slow

    Hi All,
    why is it so slow to sort the list of columns names in a table.
    It appears to be going back and querying the database again. - shouldn't it just be doing a local sort of the JTable ?
    Thanks
    Bill
    Edited by: wfs on Oct 28, 2008 2:31 PM

    Yes, it does query again - as it does with everything else being sorted.
    You're right they could implement local sorting on a little, complete set, but that should be requested at the announced SQL Developer Exchange, since I recon that would get pretty tedious (taking in count NLS sorting settings).
    Then mind you have to query again anyway if a result set is not complete (by default, fetches are 50 records at a time), or fetch everything before being able to apply the local sort, which will give you even more problems on large tables.
    Regards,
    K.

  • Why does SQL Developer sometimes refuse to activate the debug controls?

    I can find the procedure or package that I want to work in, compile it for debug, set break points, provide the required input parameters, and sometimes SQL Developer works as expected. That is, it activates the debug control buttons (step into, step over, etc.) But, other times, it just leaves them greyed out. Why? I find this frustrating.
    OK, maybe my version of SQL Developer is a bit old, but I have seen this occasionally in every version of Sql Developer I have used. I now have SQL Developer 2.1.0.63. We have an Oracle11.1.0.7 database. I have a 64-bit Windows7 desktop. I think my Java version is also a bit old, but it seems to be compatible with the EBS R12.0.6 application that I need to support. I'm not a Java expert. If I go to a C:\ prompt, and type: "java -version", It returns: "1.4.2_04".

    >
    I now have SQL Developer 2.1.0.63.
    >
    Maybe so but why aren't you using the latest 3.x version? There have been many bug fixes and new functionality since the version you are using.
    >
    I think my Java version is also a bit old
    >
    You think? Java 7 is out so version 1.4.2 is definitely old. And especially if you support EBS because I think R12 itself uses Java 1.5
    You may want to check the EBS forum
    Java/JRE Version compatabile for R12.0.6
    And now you have an Oracle 11.1 database?
    Here is the official link that has the jdbc and oracle version support
    http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#02_02
    >
    See section - Which JDBC drivers support which versions of Javasoft's JDK?
    11.1.0 OCI and THIN Driver - JDK 1.5.x and JDK 1.6.x
    Please note that JDK 1.4 is not supported by the 11 drivers.
    >
    Did you notice that last line?
    You may want to rethink your plan to use those older versions of Java and SQL Developer.

  • Why does SQL Developer sometimes not allow me to "Disconnect"?

    Sometimes when I'm ready to close SQL Developer, I try to get out gracefully, but the "Disconnect" option for the only connection I have open is greyed out. Why? The only option I know then is to close SQL Developer by clicking the "x" in the upper, right corner.
    My version of SQL Developer is a bit old: I have SQL Developer 2.1.0.63. We have an Oracle11.1.0.7 database. I have a 64-bit Windows7 desktop. I think my Java version is also a bit old, but it seems to be compatible with the EBS R12.0.6 application that I need to support. I'm not a Java expert. If I go to a C:\ prompt, and type: "java -version", It returns: "1.4.2_04".

    Actually, I think the link Alessandro posted is helpful. I cannot reproduce the behavior on Win XP, but can on Linux (somewhat). That is, Properties gets greyed out at times, but not Disconnect or Apply Filter. Retrying the right-click resolves the problem, as he notes.
    So I assume my point (1) would be more nearly correct if restated as "Bug or timing issue".
    As for (3), I really cannot give a good example. If I open a Tool menu item like Monitor SQL or Monitor Sessions on, say, the SYSTEM user, the Disconnect option is not greyed out and if used will close all the open windows for that connection. If I run Debug on a package/procedure/function, Disconnect also remains enabled. Clicking on it produces a "Cannot Disconnect" dialog warning with this text: "The database connection cannot be closed while an active debugging session exists". Perhaps I'm mistaken entirely, or just confused after seeing that behavior on some older version of SQL Developer
    -Gary

  • SQL Developer 1.5.3 - Why is "Find and Replace" now a model dialog?

    In SQL Developer 1.5.3 the find and replace dialog is now a modal dialog.
    This prevent you from copying content from below it.
    Basically only option is to type instead of copy and paste
    Very frustrating!

    This has been modal since 1.0. Do you mean the Edit -> Replace... ctrl R (Replace Text) dialog? As you have been able to copy and paste before, please direct me to the dialog you are referring to.
    Sue

  • Why does the query work in SQL Developer, but not in APEX?

    Hi, guys:
    I have a silly question. I have a complicated query, and I tested it successfully with SQL developer, and result is correct. However, when I put it into APEX to generate a report, it always reports no data found. I also know the condition related to "other marks" select list in the where clause part causes this problem. It also looks strange: before I add this condition, everything works OK; after I add this condition, even I do not choose the "other marks" select list, other components do not work neither. I always got no data found result. Could anyone help me on this problem? You can also visit our developing site as http://lsg-solutions.com:8888/apex/f?p=206 to check the problem.
    Thanks a lot
    Sam
    select distinct 'MAP','Detail',so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    so.date_of_birth as "Date of Birth",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    (select sc8.description from sor_code sc8 where sc8.code_id=so.hair_color) as "Hair Color",
    (select sc9.description from sor_code sc9 where sc9.code_id=so.eye_color) as "Eye Color",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#'),',') as "Address",
    replace(replace(nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, 'No Known Address'),'#'),',') as "Physical Address",
    sl.status as "Status",
    sl.jurisdiction as "Jurisdiction",
    to_char(sl.ADDRESS_LATITUDE) as "Address Latitude",to_char(sl.address_longitude) as "Address Longitude",
    to_char(sl.physical_address_latitude) as "Physical Latitude",to_char(sl.physical_address_Longitude) as "Physical Longitude",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    rox.status as "Registration Status",
    rox.registration_date as "Registration Date",
    rox.end_registration_date as "End Registration Date"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and (((select sc11.description from sor_code sc11 where sc11.code_id=so.race and sc11.description=:P5_SL_RACE) is not null ) or (:P5_SL_RACE is null))
    and (((select sc12.description from sor_code sc12 where sc12.code_id=so.sex and sc12.description=:P5_SL_SEX) is not null ) or (:P5_SL_SEX is null))
    and (((select sc13.description from sor_code sc13 where sc13.code_id=so.hair_color and sc13.description=:P5_SL_HAIR_COLOR) is not null ) or (:P5_SL_HAIR_COLOR is null))
    and (((select sc14.description from sor_code sc14 where sc14.code_id=so.eye_color and sc14.description=:P5_SL_EYE_COLOR) is not null ) or (:P5_SL_EYE_COLOR is null))
    and (( so.offender_id in(select sm.offender_id from sor_code sc15, sor_mark sm, sor_offender so1 where sm.offender_id=so1.offender_id and sc15.code_id=sm.code and sc15.description=:P5_SL_OTHER_MARKS and sm.description is not null)) or (:P5_SL_OTHER_MARKS is null))

    My suggestion would be to put some instrumentation into your query and see what values you are using.. Or even simpler take out ALL the where clauses you can until data starts to sho wup and then add them back in one at a time until you find the culprit..
    My bet would be on any date comparisons you are doing between page items and database columns..
    Thank you,
    Tony Miller
    Dallas, TX

  • Why will a query work in SQL Developer but not in Apex?

    Here's a good one. I created a dynamic LOV with the following query.
    select
    e.DESCR d,
    ee.ENTRD_EVNT_SK r
    from
    PT_EVNT_IN_DIV eid,
    PT_ENTRD_EVNT ee,
    PT_EVNT e
    where ee.PGNT_SK = :PGNT_SK
    and ee.CNTSNT_SK = :CNTSNT_SK
    and ee.EVNT_IN_DIV_SK = eid.EVNT_IN_DIV_SK
    and eid.EVNT_SK = e.EVNT_SK
    and ee.ENTRD_EVNT_SK not in
    (select js.ENTRD_EVNT_SK
    from PT_JDG_SCR js
    where js.JDG_SK = :JDG_SK
    and js.PGNT_SK = :ai_pgnt_sk
    and js.CNTSNT_SK = :CNTSNT_SK)
    order by 1
    The query works fine in SQL Developer, but Apex gives the following error when compiling it in the LOV editor.
    "1 error has occurred
    - LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query."
    I tried rearranging the entries in the From clause, but that didn't do any good.
    Do you see what I can do to make Apex accept it?
    Thanks,
    Kim

    Kim
    Kim2012 wrote:
    select
    e.DESCR d,
    ee.ENTRD_EVNT_SK r
    from
    PT_EVNT_IN_DIV eid,
    PT_ENTRD_EVNT ee,
    PT_EVNT e
    where ee.PGNT_SK = :PGNT_SK
    and ee.CNTSNT_SK = :CNTSNT_SK
    and ee.EVNT_IN_DIV_SK = eid.EVNT_IN_DIV_SK
    and eid.EVNT_SK = e.EVNT_SK
    and ee.ENTRD_EVNT_SK not in
    (select js.ENTRD_EVNT_SK
    from PT_JDG_SCR js
    where js.JDG_SK = :JDG_SK
    and js.PGNT_SK = :ai_pgnt_sk
    and js.CNTSNT_SK = :CNTSNT_SK)
    order by 1
    The column named ENTRD_EVNT_SK is used twice in a select. Once in the main select and once in the inline query.
    The validation maybe choking on that.
    Try giving the column in the inline query an alias and see if that helps.
    Nicolette

  • Why am I getting this error message in SQL Developer-ORA-01735: invalid ALTER TABLE OPTION?

    To Whom it may Concern,
    I am attempting to add two columns Comm_id and Ben_id to a table in SQL Developer (Oracle).
    Here is the syntax I am using:
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10)),
    Ben_id VARCHAR(2);
    The spool file I'm getting as a result of the script above:
    Error starting at line 1 in command:
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10)),
    Ben_id VARCHAR(2)
    Error report:
    SQL Error: ORA-01735: invalid ALTER TABLE option
    01735. 00000 -  "invalid ALTER TABLE option"
    *Cause:   
    *Action:
    DESC acctmanager
    Thank you in advance.

    4b60e01f-2ea5-40fe-a161-fc12d38d09e5 wrote:
    To Whom it may Concern,
    I am attempting to add two columns Comm_id and Ben_id to a table in SQL Developer (Oracle).
    Here is the syntax I am using:
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10)),
    Ben_id VARCHAR(2);
    The spool file I'm getting as a result of the script above:
    Error starting at line 1 in command:
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10)),
    Ben_id VARCHAR(2)
    Error report:
    SQL Error: ORA-01735: invalid ALTER TABLE option
    01735. 00000 -  "invalid ALTER TABLE option"
    *Cause:  
    *Action:
    DESC acctmanager
    Thank you in advance.
    try as below instead
    ALTER TABLE ACCTMANAGER
    ADD (Comm_id NUMBER(10), Ben_id VARCHAR(2));

  • Why does SQL Developer insist on opening up the package header?

    When expanding a package (clicking the '+') SQL Developer keeps opening up the package header (at least the first time you click it). I'm very rarely interested in viewing the header and it's annoying to have all those tabs open.

    See SQL Dev 2.1 RC1 - Expanding packages under Schema Browser
    Don't know if dev filed a bug against this, so to be sure you'd have to log a SR on Metalink/MOS.
    Regards,
    K.

  • Why the Oracle SQL Developer show Chinese abnormally?

    In my Oracle SQL Developer I see Chinese convert to error code such as "��介�Ε⑼�〩� ".
    My Oracle chartset is "ZHT32EUC" and Oracle SQL Developer Code is "MS950" by default.
    How can I set the corresponding code set to "ZHT32EUC" in Oracle SQL Developer?

    Hi,
    Does the machine already has files for East Asian languages and/or complex scripts options in the Supplemental Language Support section of the Languages tab for the Regional and Language Options setting installed (for WinXP machine)?
    - limoey

Maybe you are looking for