Ask A Question

4.5+ million Oracle professionals use SQL Developer on a regular basis. Have a question about Oracle SQL Developer? Searched this blog and couldn’t find the answer? Ask away!

If your question is about Oracle Database, SQL, PL/SQL, etc – go Ask Tom!

Feel free to ask anything you want, but I’ll feel free to send you to Support or our Forums if it goes sideways.

Note: This page has turned out way more successful(?) than I would have ever imagined. Please keep these things in mind when asking questions.

  1. I am NOT support. Don’t expect me to log bugs for you, or give you official timelines on bug fixes, enhancements, or product releases.
  2. I AM NOT SUPPORT. Don’t open an SR with My Oracle Support AND leave a question here. Pick one and go with it, and when in doubt, go to My Oracle Support.
  3. I try to answer questions as quickly as possible. If you don’t get an answer, ask me for an update. I may have just forgotten or overlooked your request.



  1. Damodar Raval Reply

    Hi Jeff,

    I found the issue. The .DMD file of the new data model design I am working on had following –


    I think this could have happened because I created the data model design by first importing from a DDL file. Anyway, once I removed above section from the .DMD file, I am able to use MyUserDefinedProperties.udposdm in both data model designs.


  2. Damodar Raval Reply

    Hi Jeff,

    Thank you so much for the great material you have been posting on your website for more than a decade.

    I have been wealth of information you have posted to learn how to effectively utilize Oracle SQL Developer Data Modeler features. For a data model design, I added user defined properties and saved them in MyUserDefinedProperties.udposdm in Default System Types Directory. Now, I want to use this file in another data model design, but not able to figure out how to do that. Is there a way to use existing .udposdm file?

    I am using Oracle SQL Developer version, build 094.2042.

    Thank you,

  3. Hi Jeff,

    Row comparison.
    Useful to quickly find which column of 2 almost the same rows makes them different.
    With such feature is one-click to go. Without this it is some annoying manual search which usually end up with some additional trailing spaces…


    I know PL/SQL Developer has this feature (ilustration above is from that program) and I miss it in SQL Developer.
    Or maybe it it already present (fingers crossed), but I didn’t found it yet? 🙂

    Thank you,

    • Thank you.
      If you have a list of features to think of to be developed in a future or maybe you plan to organize some community voting on which of them are the most expected, please add “Row comparison” to this list. 🙂

      Best regards,

    • thatjeffsmith

      It’s not on the list today…but I do appreciate the input. It’s this kind of stuff that helps put things on or higher on the list.

  4. No importa lo que haga no me imprime ni siquiera este mensaje en la pantalla de dbms, Favor ayuda.

    begin dbms_output.put_line(‘hola’); end;

    • thatjeffsmith

      No importa lo que hiciste … ¿qué hiciste exactamente?

      ¿Con qué versión de Oracle está trabajando?

  5. Peggy Van Langenhove Reply

    Hi Jeff,

    I’m using SQL-DEV 19.4
    How can I use SSO to connect to the database?
    In the previous version (eg 19.1) this was working.
    Now when I try to make a connection I always get a pop-up asking me for the username/password.

    Kind regards

    • Peggy Van Langenhove

      Yess indeed on a 19.1 it is still working.

    • thatjeffsmith

      Please open a SR with MOS and file a bug report. The main thing that’s changed from 19.1 to 19.4 is the JDBC driver which is now 19c. Are you using a OCI/Thick connection? Might be a driver conflict with your $ORACLE_HOME.

  6. Hi,
    I have a rather generic question.
    We are migrating from Oracle 11 to Oracle 12 Container Database.
    Our application uses utl_http to call external web services, but with the target solution we will not be able to use ports for http, https, smtp, etc. However we are switching from Webtier with mod_plsql to ORDS (standalone).
    So I was thinking, perhaps there is an easy solution, already thought of by Oracle, how to use ORDS for outgoing HTTP requests (and get the responses).
    We were looking at APEX_WEB_SERVICE, but it is not clear, if this uses 443 directly or goes through ORDS.
    What would you recommend?

    • thatjeffsmith

      ORDS is exclusively for receiving HTTP requests. If you want to go out, then you would look at the HTP package. And no, that doesn’t use ORDS.

  7. Hi Jeff —

    I’m trying to create a transformation script in data modeler that not only allows me to automatically create a view from a table (I new there is a wizard for this) but I also want to create the view with a couple new columns in which I programmatically provide the expression. I’m able to change the examples to iterate across all views, but don’t see how to manipulate and add/remove/change columns of a view: Just looking for a quick snippet to help me out. Truly Appreciate.

    var tables = model.getTableViewSet().toArray();
    //tables = model.getAllViews();
    for (var t = 0; t<tables.length;t++){
    table = tables[t];
    name = name + table.getName() + ",\n";

    name = name + "\n==============================================\n\n SQL: \n" + table.getUserDefinedSQL() + "\n ============================================\n\n";
    columns = table.getElements();
    //columns = table.getColumnViewSet();
    size = table.getElementsCollection().size();

    for (var i = 0; i < size; i++) {
    column = columns[i];
    cname = column.getName().toLowerCase();
    name = name + " " + cname + ",\n";


    • Thanks Jeff —

      I should have asked if the views would show up in Data Modeler. I wanted to change the Views that are in data modeler by adding the additional columns and seeing them in the GUI as well without having to reverse engineer after the fact.

      Is what I’m asking make sense? Truly appreciate the input… and thanks in advance.

    • So it would have been helpful.. If I just read the documentation ;-). CreateTableView and CreateViewElement gives me what I need.

      Thanks for your help.. made me take another look at what I was doing.

      Best Regards,


  8. Jens Smith Reply

    In SQL developer strings containing european characters do not display correctly.


    Results in

    � � �,

    i.e column name displays characters but not the result row

    Database settings are
    SQL> /


    I have tried various values for encoding and fonts in SQL developer.
    I cannot change database parameters.
    Similar queries work in SQLplus from Unix.


    • thatjeffsmith

      You’re storing them as NVARCHAR2 data?

      if so, works for me

      Just make sure your Editor FONT in preferences is a font that supports display of those characters

  9. Amit Parsan Reply

    Hi Jeff,

    Why are the below queries not giving consistent results?

    select to_date(’13-MAR-20′,’DD-MON-RR’) from dual; -> Gives Correct date
    select to_date(’13-MAR-20′,’DD-MON-YY’) from dual; -> Gives Correct date
    select to_date(’13-MAR-20′,’DD-MON-YYYY’) from dual; -> Adds +2 to the date

    Thanks & Regards,
    Amit Parsan

    • thatjeffsmith

      Good question.

      It’s not happening for me, but I’m not in your database. A better question for our SQL forum or even AskTom.

  10. Hi Jeff,

    we are currently using liquibase in one of my projects. I try to use the sqlcl liquibase implementation but I experience several differences to the vanilla liquibase. One difference occurs with connected Changelog files.

    In the following example controlfile db.changelog-3.25.0.xml we are pointing to db.changelog-3.24.5.xml.

    If we run lb status db.changelog-3.25.0.xml we see a difference even if this changesets are already applied.
    9 change sets have not been applied to [email protected]:oracle:thin:@//dfvvesdzd01db.dzbank.vrnet:1521/ESDZD01

    select id,author,filename from databasechangelog;
    584017293450 liquibase liquibase-internal
    liquibase-2.24.5-1 herzhd dzdigital360-2.24.5/createdb.sql
    liquibase-2.24.5-2 herzhd dzdigital360-2.24.5/createdb.sql
    liquibase-2.24.5-3 herzhd dzdigital360-2.24.5/createdb.sql
    liquibase-2.24.5-4 herzhd dzdigital360-2.24.5/createdb.sql
    liquibase-3.25.0-1 herzhd dzdigital360-3.25.0/1_Sprint25_1ddl.sql
    liquibase-3.25.0-2 herzhd dzdigital360-3.25.0/2_Sprint25_1dml.sql
    liquibase-2.25.0-2a herzhd dzdigital360-3.25.0/2_Sprint25_1dml.sql
    liquibase-2.25.0-2b herzhd dzdigital360-3.25.0/2_Sprint25_1dml.sql
    liquibase-2.25.0-2c herzhd dzdigital360-3.25.0/2_Sprint25_1dml.sql
    liquibase-2.25.0-2d herzhd dzdigital360-3.25.0/2_Sprint25_1dml.sql
    liquibase-2.25.0-2e herzhd dzdigital360-3.25.0/2_Sprint25_1dml.sql


    It looks like, the sqlcl is looking only for the first changelog file. Is this this the expected behavior?

  11. Hi Jeff, I have a question about relative links in ORDS.
    According to your blog we generated a hyperlink with $. So far so good.

    We’d like to provide available links on the resource in the response, like HAL.
    But $ always returns the complete URI including host. We are a SaaS provider and In our deployment we use an API Gateway between the end-user application clients and ORDS, where the original request is redirected to the ORDS server. So the generated hyperlink with the ORDS endpoint in it, is not the endpoint the client will use.
    Is there a way to have a relative link in the generated URI?
    So “http://ords-server/ords/employees” will be
    “/ords/employees” from the ords root path.
    Thanks for your answer!

  12. Hi,
    I have a question about the SQL Developer. I do not have much knowledge using SQL Developer .. My Question is i tried to upload BO(Business Objects) SQL Query into oracle SQL Developer software. When i run the query i got 5 errors in results that states that count value is multiplying the double i do not know why . how can i rectify this issue.
    If you do not get my point clearly then it is fine.

    Many Thanks,

    • thatjeffsmith

      I’m not familiar with that error message.

      Can you share your SQL and errors so I don’t have to guess what might be happening?

  13. Norman Hoffman Reply


    Should I be able to Import Connections with passwords into Data Modeler, from a JSON file Exported by SQL Developer with passwords?

    When I try the Data Modeler Connections Import, I get the error: “The specified decryption key does not match the key used to encrypt the passwords in the file.”

    To ensure I’m entering the same password, I’ve copied it to my clipboard, then pasted it for the SQL Developer Export and the Data Modeler Import.

    I’m running on Windows 10 Enterprise version 1809. The SQL Developer version is; the Data Modeler version is I believe these are the latest versions.


    • Norman Hoffman

      Yes, that’s what I thought, but it isn’t working for me. I wonder if anyone has been able to do this successfully.

  14. HI Jeff,

    In Version 19.4 the feedback off supresses Error Messages even with WHENEVER SQLERROR EXIT. In SQLPLUS this works fine.

    Any ideas why sqlcl reacts this way?



    select * fom table_does_not exist;


    SQL*Plus: Release – Production on Mon Mar 9 06:37:11 2020

    Copyright (c) 1982, 2019, Oracle. All rights reserved.

    Last Successful login time: Mon Mar 09 2020 06:36:41 -04:00

    Connected to:
    Oracle Database 19c Enterprise Edition Release – Production

    SQL> set feedback off
    SQL> select * from abc;
    select * from abc
    ERROR at line 1:
    ORA-00942: table or view does not exist

    Disconnected from Oracle Database 19c Enterprise Edition Release – Production


    SQLcl: Release 19.4 Production auf Mo Mär 09 06:40:12 2020

    Copyright (c) 1982, 2020, Oracle. All rights reserved. Alle Rechte vorbehalten.

    Last Successful login time: Mo Mrz 09 2020 06:40:14 -04:00

    Verbunden mit:
    Oracle Database 19c Enterprise Edition Release – Production

    SQL> set feedback off
    SQL> select * from abc;

    Abgemeldet von Oracle Database 19c Enterprise Edition Release – Production

    • thatjeffsmith

      Fixed for version 20.1, and I think this was a Windows-only bug.

      SQLcl: Release 20.1 Production on Mon Mar 09 10:24:09 2020
      Copyright (c) 1982, 2020, Oracle.  All rights reserved.
      Last Successful login time: Mon Mar 09 2020 10:24:11 -04:00
      Connected to:
      Oracle Database 12c Enterprise Edition Release - 64bit Production
      SQL> set feedback off
      SQL> select 1 form dual;
      Error starting at line : 1 in command -
      select 1 form dual
      Error at Command Line : 1 Column : 15
      Error report -
      SQL Error: ORA-00923: FROM keyword not found where expected
      00923. 00000 -  "FROM keyword not found where expected"
    • Hi Jeff,

      Thank your for the quick fix. The bug happend on linux box.
      Linux 3.10.0-1062.12.1.el7.x86_64 #1 SMP Thu Dec 12 06:44:49 EST 2019 x86_64 x86_64 x86_64 GNU/Linux

  15. Michael Moser Reply

    Hi Jeff
    a question: I recently wrote a very useful tool that allows to extract a DB record plus all entries that are either referencED by that record as well as – optionally – also all records that are referencING said record. This allows to extract what I call a “subgraph” from a DB, i.e. a consistent subset of data with all valid cross-references allowing to e.g. extract such a data set from a productive DB and insert it into a test DB in order to reproduce or replay certain situations. Extremely useful for debugging and analysing!
    Now, the issue is: colleagues have started to use this tool and like it and they also started to extract pretty large subsets. Doing so we are encountering, that the output of the tool is frequently truncated or rather: we only get the last 3000 or so lines. The begin is chopped off. This of course limits the usefulness severely. 🙁
    I am running my script as an extension plugin and the output is sent to the “Messages – Log” window which obviously has only a limited buffer size. Can one somehow adjust and enlarge that buffer size?
    I already fiddled with Tools -> Preferences -> Database -> Worksheet: Max rows and Max lines in script output but these settings don’t seem to influence the Message output window.
    Can one modify the output buffer length?

    • Preferences->Environment/Log has save logs to directory and maximum log lines (which is 3000 by default). -Brian.

  16. Anibal Lopez Reply

    POST command using Oracle ORDS version 18.2.0.r1831332. inserting 2 records in error.

    I am doing a single POST operation that should insert only 1 record at the time in a table where a text file is inserted into a blob_document column. ( see table DDL here below. )
    But instead it is creating 2 records.
    One record will have the blob column populated correctly with the text file and a second record is created where the blob_document column is empty.

    I have here below the DDL of the sequence and table (with trigger) and the POST command sql statment.

    ) ;


    before insert or update or delete on docs_json
    for each row
    if deleting then
    elsif inserting then
    select dj_seq_id.nextval into :new.seq_id from sys.dual;
    elsif updating then
    :new.seq_id := :old.seq_id;
    end if;

    — POST —
    l_blob blob := :body;
    l_seqId number := 0;
    — nextval —
    insert into DOCS_JSON( LOADING_DATE, BLOB_DOCUMENT ) values ( sysdate, l_blob ) returning seq_id into l_seqId;

    :response := l_seqId;
    :status := 200;

    exception when others then
    :response := ‘Status NOK.’;
    :status := 400;

    Could this be a problem with the ORDS version?

    The Oracle ORDS version is: 18.2.0.r1831332.

    Any help or hint will be much appreciated.



    • thatjeffsmith

      If you add a COMMIT to your anon block for your restful service?

      If you disable the trigger? Also, have you considered just using an IDENTITY clause for your PK? Then you don’t have to worry about triggers and sequences anymore.

  17. Marcel van Lare Reply

    in sql developer when i do search or “search and replace” in a sql worksheet or package edit it works fine the first time. But when I want to do a new search or “search and replace” in the same worksheet/package, and placing the cursor back to the start. it does not work. I have to close the search/search and replace little block in the top and start a new search and then it works.
    These actions you do a lot in an editor. Is this a known bug or is there something to solve this or workaround?

    • Do you have wraparound selected? Icon to the right of Replace.

    • Marcel van Lare

      No i did not have wraparound selected. Should i try search with wraparound selected and if not found wraparound not selected? What does search with wraparound selected do?

    • thatjeffsmith

      wraparound means when you get to the end of the buffer/file, do you want to go back and search from the beginning?

      if you have it off, it will only look ‘ahead’ from where it started last, which explains pretty much what you’re experiencing

      toggle the option and try your search again

    • Marcel van Lare

      Yes, when i keep wraparound button selected/active the search and replace works nice for me. Thanks.

  18. Tina Claps Reply

    This is what I want to see (below) in this format (more or less) that can be inserted into a script that will generate a SQL profile in Oracle . This exists in OtherXML in plans that are stored in AWR and would be useful if it could be easily exported from what shows the {hint} section when you do an Explain Plan in SQL Developer for a plan that might not be in AWR. In the scenario I described the plan was not in AWR and when I executed, it ran fast enough it didn’t get captured in the cursor cache or AWR in order to get it from there.

    [OPT_PARAM(‘_unnest_subquery’ ‘false’)]’,
    [OPT_PARAM(‘_gby_hash_aggregation_enabled’ ‘false’)]’,
    [OPT_PARAM(‘_fix_control’ ‘5099019:1′)]’,
    [INDEX(@”SEL$3FF8579E” “PS_VOUCHER”@”UPD$1″)]’,
    [USE_NL(@”SEL$3FF8579E” “PS_VOUCHER”@”UPD$1”)]’,

    • thatjeffsmith

      Use FORMAT=’OUTLINE’ in your dbms_xplan call …

      SQL_ID  28jqctcapt05v, child number 0
      SELECT employees.first_name,        employees.last_name,        
      employees.salary,        departments.department_name   FROM employees  
      INNER JOIN departments ON employees.department_id = 
      departments.department_id  order by salary desc  fetch first 10 rows 
      Plan hash value: 936479370
      | Id  | Operation                      | Name        | Rows  | Bytes | Cost (%CPU)| Time     |
      |   0 | SELECT STATEMENT               |             |       |       |     7 (100)|          |
      |*  1 |  VIEW                          |             |    10 |   820 |     7  (29)| 00:00:01 |
      |*  2 |   WINDOW SORT PUSHED RANK      |             |   106 |  4240 |     7  (29)| 00:00:01 |
      |   3 |    MERGE JOIN                  |             |   106 |  4240 |     6  (17)| 00:00:01 |
      |   4 |     TABLE ACCESS BY INDEX ROWID| DEPARTMENTS |    27 |   432 |     2   (0)| 00:00:01 |
      |   5 |      INDEX FULL SCAN           | DEPT_ID_PK  |    27 |       |     1   (0)| 00:00:01 |
      |*  6 |     SORT JOIN                  |             |   107 |  2568 |     4  (25)| 00:00:01 |
      |   7 |      TABLE ACCESS FULL         | EMPLOYEES   |   107 |  2568 |     3   (0)| 00:00:01 |
      Outline Data
            MERGE(@"SEL$1" >"SEL$2")
            NO_ACCESS(@"SEL$3" "from$_subquery$_004"@"SEL$3")
            FULL(@"SEL$58A6D7F6" "EMPLOYEES"@"SEL$1")
            LEADING(@"SEL$58A6D7F6" "DEPARTMENTS"@"SEL$1" "EMPLOYEES"@"SEL$1")
            USE_MERGE(@"SEL$58A6D7F6" "EMPLOYEES"@"SEL$1")
      Predicate Information (identified by operation id):
         1 - filter("from$_subquery$_004"."rowlimit_$$_rownumber"<=10)
                    DESC )<=10)
    • What should do when Tnsnames directory is empty?

    • thatjeffsmith

      You don’t need a TNSNames file to connect to Oracle. You can use a Basic type connection, same principle as using the EZConnect syntax in SQL*Plus.

  19. Tina Claps Reply

    Is there a way to export the results of an Explain Plan from SQL Developer 19 to some text format?

    The use case I have is trying to tune a problematic SQL. If I do an Explain Plan in SQL Developer I can get the right plan and it shows the associated hints for the plan that is showing. I have a SQLPlus script where I can get a runtime plan / hints from a SQL that is running, but I can’t get the right plan from history. I want to be able to cut and paste the hints from the SQL Developer plan into the script, hoping to create a profile that will get the right run-time plan.

    I have eye-balled the plan in SQL Developer and manually updated the hints in the script but that is incredibly excruciating ! I haven’t been able to figure out how to get the hints like this via SQLPlus or any other way.

  20. Hello Jeff,
    I’m using Sql Developer v19.2.1.247. I was trying to change the font (under Tools–>Preferences–>Fonts), but when I click on the drop down menu (Font Name), I do not see font I’m looking for (HE Terminal / TT0596M.TTF). I know it’s installed, and other apps (i.e. Putty) are able to use it.

    Any ideas?
    Thanks in advance!

    • thatjeffsmith

      We ask the OS for a list of fonts, what we’re showing, is what we get. And by ‘we’, I mean Java and not SQL Developer.

      I downloaded a Prince font the other day, and it worked.

  21. Hi Jeff,
    First I want to say how impressed I am by SQL Developer as a tool. I am new to Oracle, but have been using a major competitor’s product extensively for a couple of decades. I must say that whenever I go now to the other product I hugely miss many of features from SQL Developer, like the Describe popup Shift-F4 for example…
    Now down to my question. I know that dragging fields from the Shift-F4 popup surrounds them with single quotes and that using CTRL-copy/paste writes the fields without quotes in a row-by-row list, but also without commas.
    Neither of these are suitable for quickly building a Select statement with a lot of fields in it…
    Is there a way to drag (or copy-paste) some fields from the Describe popup as a comma-separated list of unquoted names?
    Thank you

  22. Have ORDS 19.4 installed on Tomcat. I seem to be a missing a step in the configuration. Any idea what it is?

    Debug Trace
    [TE] GET /ords/xx_apex/sign-in?username=XX_APEX&r=_sdw%2F start: 2020-02-28T15:27:17.162Z duration: 137ms

    Stack Trace
    URLMappingNotFoundException [statusCode=404, reasons=[The request could not be mapped to any database. Check the request URL is correct, and that URL to database mappings have been correctly configured]]
    at oracle.dbtools.url.mapping.filter.URLMappingFilter.doFilter(

    • Forgot to mention that I’m just trying to check out sql developer web. I have Apex up and running fine, but sql-developer web is complaining. It’s probably related to me not understanding what this actually does:

      p_enabled => TRUE,
      p_schema => ‘XX_APEX’,
      p_url_mapping_type => ‘BASE_PATH’,
      p_url_mapping_pattern => ‘XX_APEX’,
      p_auto_rest_auth => FALSE

    • thatjeffsmith

      What is XX_APEX

      That’s not the actual APEX schema is it?

      If it is, you cannot do that.

      You need to REST enable a database user account, and then try to login as that user.

    • It was a Apex Schema… Created a separate database account. Got same result…

      The request could not be mapped to any database. Check the request URL is correct, and that URL to database mappings have been correctly configured
      Debug Trace
      [TE] GET /ords/darenjanes/sign-in?username=DARENJANES&r=_sdw%2F start: 2020-02-28T18:53:59.472Z duration: 60ms

      p_enabled => TRUE,
      p_schema => ‘DARENJANES’,
      p_url_mapping_type => ‘BASE_PATH’,
      p_url_mapping_pattern => ‘DARENJANES’,
      p_auto_rest_auth => FALSE

    • thatjeffsmith

      p_url_mapping_pattern => ‘DARENJANES’,


      p_url_mapping_pattern => ‘darenjanes’,

      Beware of smartquotes if you copy/paste this.

    • That was it. I would never have found that…..

      Much appreciated!

  23. Hi Jeff,
    I’ve been using SQL-D for some time now and my team relies on it on a daily basis. I’d like to know how it calculates the average response time in the CLIENTS section.

    When I query “Response Time Per Txn” from SYS.V_$SYSMETRIC_SUMMARY, the value it records/reports is typically quite different, i.e. >20 ms. In fact, I don’t see any metrics from the SYSMETRIC_SUMMARY that line up neatly with this value.

    I’ve searched online with no really good results.

    Thanks for the great product! Any help is appreciated.

    • thatjeffsmith

      My quick search of docs found this nugget, but note that this is calculated by the database, not SQL Developer.

      This metric represents the time spent in database operations per transaction. It is derived from the total time that user calls spend in the database (DB time) and the number of commits and rollbacks performed. A change in this value indicates that either the workload has changed or that the database’s ability to process the workload has changed because of either resource constraints or contention.

      The units of measurement are “Centi-Seconds per Transaction” which is 1/100ths of a second per transaction.

    • I get the error after it prompts for username using …/ORDS/sql-developer . Yes, I did enable.


  24. Nigel Carr Reply

    When calling sqlplus -s in shell script using heredocs to assign the output to a shell variable I get the value I expect. When using sql -s I get an extra leading character.
    Is that expected behaviour? We have a lot of scripts that use this and I was hoping for an easy move from sqlplus to sqlcl but this incompatibility would mean that all the logic that uses the returned values would fail.

    Sqlcl v19.4 on Oracle Linux in OCI Sydney (IAAS).

    Hope that’s the info you need.


    • thatjeffsmith

      Step One: googles ‘heredocs’

      I’ll take a look.

      But can you give me an example? Even if just a select from dual?

    • Nigel Carr

      Sorry Jeff – I typed up the question on my phone on the ferry so couldn’t give a working example.

      I have done it twice to show it is consistently adding a space. I have reused the same variable to show it is not related to the variable in any way.

      Results from the echo statements are
      1 response=X
      2 response= X
      3 response=X
      4 response= X

      This would be the content of such a script. It is ever so slightly different to mine as proxyuser and DBAp006 are defined in other scripts but hopefully you’ll be able to reproduce it.

      DBAp006=”db of your choice”

      response=$(sqlplus -s “$PROXYUSER”@”$DBAp006″<<-endsql
      whenever sqlerror exit sql.sqlcode
      set pages 0 verify off feedback off head off
      select dummy from dual;

      echo "1 response="$response""

      response=$(sql -s "$PROXYUSER"@"$DBAp006"<<-endsql
      whenever sqlerror exit sql.sqlcode
      set pages 0 verify off feedback off head off
      select dummy from dual;

      echo "2 response="$response""

      response=$(sqlplus -s "$PROXYUSER"@"$DBAp006"<<-endsql
      whenever sqlerror exit sql.sqlcode
      set pages 0 verify off feedback off head off
      select dummy from dual;

      echo "3 response="$response""

      response=$(sql -s "$PROXYUSER"@"$DBAp006"<<-endsql
      whenever sqlerror exit sql.sqlcode
      set pages 0 verify off feedback off head off
      select dummy from dual;

      echo "4 response="$response""

    • Nigel Carr

      Hi Jeff,
      Are you waiting for anymore info from me so you can reproduce, fix or decline this difference between SQLcl and SQPPlus?

    • thatjeffsmith

      Just lack of time to give it a go…instead of waiting on me you can go file an Service Request with My Oracle Support right away.

  25. Brian Higgens Reply

    Thank you for all your work building out a great product.

    We are working to rollout TCPS connections and creating a standard configuration for all our users of SQL Developer (19.4 64-bit). We have been able to make connections by having a separate client install, but we have not found documentation if this can be accomplished without including a separate client install. Let me know if I missed a document that lists the setup steps for setting up TCPS connections in SQL Developer.

    Thank You,

Write A Comment