Grouping of lines - SQL Developer

I was wondering if someone can help me here - Im trying to group the lines in a "package" to get fewer lines of data and group together the dates where they follow (and they have the same class of service and client ID). Im not the most irritable person so any help is appreciated.

Here's my CREATE & INSERT

CREATE TABLE ACF_SERVICES_DIM (Client_id varchar2 (20),)
Date of Agreement_Start_date,
Date of Agreement_End_Date,
Service_Category Varchar2 (200),
Agreement_id varchar2 (20));

Insert into Acf_Services_Dim (Client_Id, Agreement_Start_Date, Agreement_End_Date, Service_Category, Agreement_Id)
VALUES ('2607 ', 'J2849', 'Red', TO_DATE (' 01/10/2013 ',' dd/mm/yyyy'), NULL);

Insert into Acf_Services_Dim (Client_Id, Agreement_Start_Date, Agreement_End_Date, Service_Category, Agreement_Id)
VALUES ('2607 ', 'J2279', 'Red', TO_DATE (' 30/09/2013 ',' dd/mm/yyyy'), TO_DATE (' 01/03/2002 ',' dd/mm/yyyy'));

Insert into Acf_Services_Dim (Client_Id, Agreement_Start_Date, Agreement_End_Date, Service_Category, Agreement_Id)
VALUES ('2607 ', 'J2284', 'Red', TO_DATE (' 30/09/2013 ',' dd/mm/yyyy'), TO_DATE (' 01/03/2002 ',' dd/mm/yyyy'));

Commit;

The last two are of the same exact service type / id / dates etc so id expect to see a result... I think however it it link to 1 also, such as tracking the dates on and again, everything else is the same.

If there is a 4th line-

VALUES ('2607 ', 'J2299', 'Blue', TO_DATE (' 30/09/2013 ',' dd/mm/yyyy'), TO_DATE (' 01/03/2002 ',' dd/mm/yyyy'));

Commit;

I only expect to show also in a separate package because it does not match the 1st 3 because it is a different class of service, even if the dates are the same... I hope that helps?

The request im trying to use is the following... HOWEVER it keeps giving me a not authorized windows error function

WITH got_package_id AS

(

SELECT agreement_id

MIN (CONNECT_BY_ROOT agreement_id) AS package_id

Of acf_services_dim

CONNECT BY NOCYCLE client_id = client_id PRIOR

AND service_category = PRIOR service_category

AND agreement_id <>agreement_id PRIOR

AND (agreement_start_date = agreement_end_date FRONT + 1).

OR agreement_end_date = PRIOR agreement_start_date - 1

OR (agreement_start_date = PRIOR agreement_start_date

AND agreement_end_date = PRIOR agreement_end_date

)

)

GROUP BY agreement_id

)

SELECT s.Client_Id

MIN (s.Agreement_Start_Date) AS package_start_date

, NULLIF (NVL (MAX (s.Agreement_End_Date))

DATE "9999-01-01'

)

DATE "9999-01-01'

) AS package_end_date

s.Service_Category

p.package_Id

ROW_NUMBER () OVER (PARTITION BY s.client_id

s.service_category

ORDER BY p.package_id

) AS package_num - if wanted

Of s acf_services_dim

JOIN got_package_id p ON p.agreement_id = s.agreement_id

GROUP BY s.client_id

s.service_category

p.package_id

;

Don't know why, but im getting the following error when running in SQL developer... no idea why?

Error in the command column line: 32:56

Error report:

SQL error: ORA-30483: window functions are not allowed here

30483 00000 - "window functions are not allowed here."

* Cause: Window functions are allowed only in the SELECT a query list.

And, depending on the window cannot be an argument in another window or group

function.

* Action:

Make a copy of your test case in a spreadsheet SQL Developer 4.0.3 connected to Oracle Xe (11.2.0.2) with jdk1.7.0_67 on Windows 7, everything works as expected:

CLIENT_ID PACKAGE_START_DATE PACKAGE_END_DATE SERVICE_CATEGORY

-------------------- ---------------------------------- ------------------------------- -------------------------------

2607 1 March 02 13 - SEP - 30 Blue

2607 1 March 02 13 - SEP - 30 Red

No ORA-30483 at all.  What versions of SQL, Oracle DB, Java developer and so on are you using?

Tags: Database

Similar Questions

  • Auto generate Group By in SQL Developer

    In SQL Developer 4.0.1.14, the option to disable "Autogenerate Group By" has DISAPPEARED from the option page 'insight to completion. "  (Preferences, Code Editor, completion Insight).  I am a teacher of a class in which we do different things with group who go beyond what makes automatic generation.  How can I disable this feature?  When I installed on my laptop, I imported the settings of 3.2, and is not automatically generate.  It is not available to students who have just downloaded SQL Dev 4.  And I can't turn it back on to find a way around it.  Is there a solution?

    The autogenerate value bit is actually no more. It is now group, on request.

    It relates to the analysis of information advice semantic - if you put that supply advice to add group over will not appear.

    I'm talking about this new feature a little here.

  • Script SQL Developer runs all the lines

    I have a group of scripts that I want to execute in the order since a main script.  I created a file referencing these scripts as follows below.  My problem is that when I run this script (via F5 or another script referencing it), it runs only the first line and stops.  I have excluded questions with my references to file by changing the order - always the first runs and stops.  I have tried such as displayed below and with a semicolon; to separate each command.  I have scoured the web and can not find any reason why it does not work.  Each of the scripts listed below contains multiple statements separated by a; that wraps a file to a NAS where he is picked up by our external file transfer program.  It all works properly - the only thing that I have problems with using 1 script to call several files and run them in order.

    Any help is greatly appreciated!

    @EMSTATUS.sql

    @EMPLOYEE.sql

    @HREMPUSF.sql

    @HRHISTORY.sql

    @HRSUPER.sql

    @JOBCLASS.sql

    @JOBCODE.sql

    @PAACTREAS.sql

    @PAEMPLOYEE.sql

    @PAEMPPOS.sql

    @PCODES.sql

    @PCODESDTL.sql

    @PERSACTHST.sql

    @PRDISTRIB.sql

    @PRPAYCODE.sql

    @PSGRELATE.sql

    @REVIEW.sql

    Hello

    Note You can place in the path: Tools-> preferences-> database-> spreadsheet-> "path select default to search scripts"


    I tried the following:

    c:\tmp\calltwoscripts. SQL

    set echo on

    @zone.sql

    @ztwo.sql

    Select 'done' double.

    c:\tmp\zone. SQL:

    Select 'one' double;

    c:\tmp\ztwo. SQL:

    Select 'two' SQL;

    executed in a worksheet:

    @c:/tmp/calltwoscripts.sql

    Output:

    > @zone.sql

    > select "one" of the double

    'A '.

    -----

    one

    > @ztwo.sql

    > Select "both" of the double

    "TWO".

    -----

    two

    > select 'done' double

    'DONE '.

    ----------

    Finish

    The things that could go wrong:

    Your scripts could end with "quit".

    Paths can mingle: try (not @) and full of paths.

    You could hit a code issue, the spreadsheet does not recover-in which case you should get the output on the command line and or Page logging of messages in the view.

    Turloch

    SQLDeveloper - team

    http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-Debug-Info-for-Oracle-SQL-Developer/

    http://totierne.blogspot.co.UK/2013/07/user-check-on-sqldeveloper-worksheet.html

  • How to develop and reduce lines or groups of lines in figures?

    How to develop and reduce lines or groups of lines in figures?

    Thank you

    Casey

    Select the rows (or columns):

    Then, place the cursor on one of the row headings (the numbers on the left):

    so that you see the carat facing downwards, then click here to bring up the context menu for the lines:

    then select "hide selected rows.

  • Combination of line SQL and grouping

    My data in the table looks

    SNO VAL GRP

    1. A G1

    2. A G1

    3. A G1

    4. A G1

    11 B G1

    12 B G1

    21 C G1

    22 C G1

    31 B G2

    34 B G2

    42 C G2

    46C G2

    48 C G2

    51 G2

    58 D G2

    66 F G2


    I wanted to create a view with output like below. The example that I gave to my previous question (combination line SQL)) me has really helped to learn new things, when when I try to create the view, I had to add field GRP out of combination and I failed.


    VAL is the field that decides the combination. If val has 3 possible options for a GRP, then I combine the each Val of the NSO and create together. VAL may have any number of possible values up to 17. This sector alone of combination worked with the answer to my last question. Now, I need to add the field group this as below. Any help to achieve this result will be great


    Combination GRP

    G1 1,11,21

    G1 1,12,21

    G1 1,11,22

    G1 1,12,22

    G1 2,11,21

    G1 2,12,21

    G1 2,11,22

    G1 2,12,22

    G1 3,11,21

    G1 3,12,21

    G1 3,11,22

    G1 3,12,22

    G1 4,11,21

    G1 4,12,21

    G1 4,11,22

    G1 4,12,22

    31,42,51,66 G2

    31,42,58,66 G2

    31,46,51,66 G2

    31,46,58,66 G2

    31,48,51,66 G2

    31,48,58,66 G2

    34,42,51,66 G2

    34,42,58,66 G2

    34,46,51,66 G2

    34,46,58,66 G2

    34,48,51,66 G2

    34,48,58,66 G2


    Create tables and Insert queries below if necessary

    Create the table table_x

    (SNO Number (3),)

    VARCHAR2 VAL (3),

    GRP VARCHAR2 (3));

    insert into values(1,'A','G1') table_x;

    insert into values(2,'A','G1') table_x;

    insert into values(3,'A','G1') table_x;

    insert into values(4,'A','G1') table_x;

    insert into values(11,'B','G1') table_x;

    insert into values(12,'B','G1') table_x;

    insert into values(21,'C','G1') table_x;

    insert into values(22,'C','G1') table_x;

    insert into values(31,'B','G2') table_x;

    insert into values(34,'B','G2') table_x;

    insert into values(42,'C','G2') table_x;

    insert into values(46,'C','G2') table_x;

    insert into values(48,'C','G2') table_x;

    insert into values(51,'D','G2') table_x;

    insert into values(58,'D','G2') table_x;

    insert into values(66,'F','G2') table_x;

    Hello

    In your first problem, it was as if all rows have the same value of grp, and you could do something like this:

    WITH got_r_num AS

    (

    SELECT sno

    DENSE_RANK () OVER (ORDER BY val) AS r_num,

    FROM table_x

    )

    SELECT SYS_CONNECT_BY_PATH (sno, ",") AS the combination

    OF got_r_num

    WHERE CONNECT_BY_ISLEAF = 1

    START WITH r_num = 1

    CONNECT BY r_num = 1 + PRIOR r_num

    ;

    But now, you have several values of grp, and each of them is a world unto itself, separate from all the other values of grp.

    In analytical functions, 'PARTITION BY grp' treats all grp as a full-fledged world values, separate all values of grp.

    In CONNECT BY, you can add "grp = grp PREREQUISITE" to the CONNECT BY clause to separate the grps.

    Here is a way to do it:

    WITH got_r_num AS

    (

    SELECT snogrp

    DENSE_RANK () OVER ( PARTITION BY grp

    ORDER BY val

    ) AS r_num

    FROM table_x

    )

    SELECT SUBSTR (SYS_CONNECT_BY_PATH (sno, ',')

    2

    ) AS combination

    grp

    OF got_r_num

    WHERE CONNECT_BY_ISLEAF = 1

    START WITH r_num = 1

    CONNECT BY r_num = 1 + PRIOR r_num

    AND grp = grp PRIOR

    ;

  • PL/SQL in Sql Developer 4 script, works not sqlplus command line.

    Hello guys, Xev here.

    I hope I meet new people there into that in this space. I hope this is the appropriate space to ask this, I see that others have asked about sqlplus and they where permitted to post...

    I have a pl/sql script that runs in sql developer 4, but the exact same script will not run in the sqlplus command line?

    When I run the script, it gives me this, but as you can see with this script that works fine with sql developer, he is not running sqlplus command line.

    ERROR at line 3:

    ORA-06550: line 3, column 28:

    PLS-00201: identifier 'DYNAMIC_COUNTS' must be declared.

    ORA-06550: line 3, column 4:

    PL/SQL: Ignored Element

    ORA-06550: line 39, column 17:

    PLS-00487: Invalid reference to variable 'DYNAMIC_COUNTS % ROWTYPE.

    ORA-06550: line 39, column 1:

    PL/SQL: Statement ignored

    ORA-06550: line 41, column 17:

    PLS-00487: Invalid reference to variable 'DYNAMIC_COUNTS % ROWTYPE.

    ORA-06550: line 41, column 1:

    PL/SQL: Statement ignored

    ORA-06550: line 43, column 17:

    PLS-00487: Invalid reference to variable 'DYNAMIC_COUNTS % ROWTYPE.

    ORA-06550: line 43, column 1:

    PL/SQL: Statement ignored

    ORA-06550: line 45, column 17:

    PLS-00487: Invalid reference to variable 'DYNAMIC_COUNTS % ROWTYPE.

    ORA-06550: line 45, column 1:

    PL/SQL: Statement ignored

    ORA-06550: line 82, column 15:

    PL/SQL: ORA-00942: table or view does not exist

    ORA-06550: line 82, column 3:

    PL/SQL: SQL statement ignored

    Here is the script I use... You define a type of thing in the sqlplus command line?

    Set serveroutput size unlimited

    run the DBMS_OUTPUT. ACTIVATE (buffer_size = > NULL);

    DECLARE

    TYPE nt_tab IS TABLE OF dynamic_counts % ROWTYPE;

    v_nttab nt_tab: = nt_tab();

    FND_LOOK INTEGER.

    v_incr NUMBER: = 0;

    ------------------------------------------------------------------------------------------------------------------------

    BEGIN

    FOR t IN (SELECT master, table_name, column_name

    From all_tab_columns

    Owner WHERE = UPPER ('& SCHEMA_NAME'))

    ------------------------------------------------------------------------------------------------------------------------

    LOOP

    BEGIN

    EXECUTE IMMEDIATE ' with an ACE (select case when REGEXP_LIKE (' | t.column_name |))

    -This search 1 letter and 12 figures-

    ', "^ ([[: alpha:]] |) [[: alpha:]] ({3}) [0-9] {12} $")

    then "match"

    another "no matches found" end up as output of ' | t.Owner | '.' || t.table_name | ')

    Select count (*) in a where a.output = "Match Found" clause '

    IN FND_LOOK;

    ------------------------------------------------------------------------------------------------------------------------

    IF FND_LOOK > 0 THEN

    v_incr: = v_incr + 1;

    v_nttab. EXTEND;

    v_nttab (v_incr) .t_owner: = t.owner;

    v_nttab (v_incr) .t_table_name: = t.table_name;

    v_nttab (v_incr) .t_column_name: = t.column_name;

    v_nttab (v_incr) .fnd_govids: = FND_LOOK;

    END IF;

    ------------------------------------------------------------------------------------------------------------------------

    / * This is for DBMS output, thus we have 2 different ways, one can see the results in the table dynamic_counts

    and in the dbms_output

    */

    IF FND_LOOK > 0 THEN

    Dbms_output.put_line (t.owner |) '.' || t.table_name | ' ' || t.column_name | ' ' || FND_LOOK);

    END IF;

    ------------------------------------------------------------------------------------------------------------------------

    / * Exception Handeling * /.

    EXCEPTION

    WHILE OTHERS

    THEN

    Dbms_output.put_line)

    "Generic error".

    || t.column_name

    || "from".

    || t.Owner

    || '.'

    || t.table_name);

    END;

    END LOOP;

    ------------------------------------------------------------------------------------------------------------------------

    FORALL i IN 1.v_nttab. COUNTY

    INSERT INTO dynamic_counts (t_owner,

    t_table_name,

    t_column_name,

    fnd_govids)

    VALUES (v_nttab (i) .t_owner,

    v_nttab (i) .t_table_name,

    v_nttab (i) .t_column_name,

    v_nttab (i) .fnd_govids);

    COMMIT;

    END;

    /

    Are you sure that you are connected to the database to the same user with both clients?

  • The empty set error line in sql developer.

    Dear all,

    When I put blank in the table, I get below error.

    "ORA-01407: cannot update ('PRODDTA', 'Table name', 'row') with a NULL value.

    01407 00000 - "can not update (%s) null.

    * Cause:

    * Auction;

    1407Error code provider to Line2.

    I used under query,

    UPDATE F0xx SET = G1234 " WHERE Gxxxx'x ="00000001"AND Gxxx = 'xx' AND Gxxxx'x = '123456 '.

    I want to G1234 empty.

    Can someone guide me to solve this problem.

    Kind regards

    Haran

    Can someone guide me to solve this problem.

    No - not in this forum.

    This forum is ONLY for questions about Sql Developer.

    Please mark the thread ANSWERED and repost it in SQL and PL/SQL forum.

    SQL and PL/SQL

    When you repost you will need to provide the DDL for the table you are trying to update.

    Some columns have NOT NULL constraints that do NOT allow you to put them to null.

  • How to run DBMS_SQLTUNE.report_sql_monitor of SQL Developer 4.0

    Hello-

    We have new SQL Developer 4.0 as a single stop for all reports of performance tuning.

    (So far, we know how to generate the AWR and ASH ADDM directly from SQL DEV 4.0 and we can do as a NON-privileged user)

    Now, the question is how to run DBMS_SQLTUNE.report_sql_monitor API SQL DEV 4.0?

    I tried this way:

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    SELECT DBMS_SQLTUNE.report_sql_monitor)

    sql_id = >: SQL_ID

    Type = > 'TEXT ',.

    report_level = > 'ALL') AS myreport

    DOUBLE;

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    and then right button click of the mouse on the line "myreport" and the EXPORT of 'text' in the menu drop down and save in the. FichierTSV on the local file system.

    It works this way, as expected, but seems to be a lot of hassle: too many steps.

    Then I tried the HTML format:

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    SELECT DBMS_SQLTUNE.report_sql_monitor)

    sql_id = >: SQL_ID

    Type = > 'HTML. "

    report_level = > 'ALL') AS myreport

    DOUBLE;

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    and it didn't work well at all SQL dev 4.0

    Any help will be greatly appreciated.

    (once again, the idea here is to set up our development and QA groups with full access to performance all reports without having them call DBA for help in the production of any SQL tuning report).

    Thank you

    VR

    There is certainly a 'room' to improve the interface, just tell me what you would like to be like him. For example, you want an overview of the SGS of all SQLIDs running on the nodes you could then select this option to run a report for? Don't say it is what we would do, but I was wondering what it is that you ask for.

  • Create the view using SQL DEVELOPER

    I'm new to this forum :)

    11 GR 2, WIN2008 R2

    SQL Developer Version 3.2.09

    I am creating the data below view (view existing)

    Table: Dovmarker
    MARKERBOREHOLE                             UWI             MARKERSURFACE              Z
    WELLXXX               65372643AAAA     Cw     -982,985619574516
    WELLXXX               65372643AAAA     Cn     -1891,47401803955
    WELLXXX               65372643AAAA     J     -674,989528816517
    WELLXXX               65372643AAAA     K3     20,00165000429
    WELLXXX               65372643AAAA     Tr     125,000317308153
    WELLXXX               65372643AAAA     K1     -658,989731894024
    WELLXXX               65372643AAAA     Q     149,999999999549
    
    WELLYYY                          56618334AAAA     Jkm     -715,071442105268
    WELLYYY                          56618334AAAA     K3     36,9013966413975
    WELLYYY                          56618334AAAA     J2     -976,056079257549
    WELLYYY                          56618334AAAA     Tr     106,900507694299
    I try to describe the table and my goal :),

    each line describes wells, uwi(uniqe identifier), z (deppth), high (surface marker)

    I try to merge all lines with the same MARKERBOREHOLE/UWI and MARKERSURFACE contact coresponding Z (ascending) as MARKERSURFACE = Z.
    If it is posibble to reduce the number of decimals to 2.

    My idea to solve the problem:
    example: ' | ' is the delimiter
    WELLXXX    Q=149,999999999549 | Tr=125,000317308153 | K3=20,00165000429 |  K1=-658,989731894024 | J =-674,989528816517 | Cw=-982,985619574516 | Cn=-1891,47401803955
    WELLYYY   Tr=106,900507694299 | K3=36,9013966413975 |  Jkm=-715,071442105268 | J2=-976,056079257549
    or better (not enough knowledge ;))
    WELLXXX    Q=149,999999999549 
                     Tr=125,000317308153
                     K3=20,00165000429 
                     K1=-658,989731894024 
                     J =-674,989528816517 
                     Cw=-982,985619574516 
                     Cn=-1891,47401803955
    
    WELLYYY   Tr=106,900507694299 
                     K3=36,9013966413975 
                     Jkm=-715,071442105268 
                     J2=-976,056079257549
    Number of markersurface is different for each well


    I try to do it by the listagg function, but I have failled
    select markerborehole, listagg(z, ' | ') within group (order by z) as new1 
      from dovmarker
      group by markerborehole;
     
    result:
    WELLZZZ  -2575,95869465411 | -1891,47401803955 | -982,985619574516 | -674,989528816517 | -658,989731894024 | 
    WELLRRR -2376,96975480605 | -2376,96975480605 | -2308,97180590009 | -2308,97180590009 | -2206,47428534641 | -2206,47428534641 | -2163,97522524171
    When I tried to create new view in sql developer I occurred error;
    Error(s) parsing SQL:
    unexpected token near *!* in the following:
    select markerborehole, listagg(z, ' | ') within *!*group (order by z) as new1
    unexpected token near *!* in the following:
    select markerborehole, listagg(z, ' | ') within group *!*(order by z) as new1
    missing expression near *!* in the following:
    select markerborehole, listagg(z, ' | ') within group (*!*order by z) as new1
    Can you help me with this?

    Concerning
    Jaroslaw

    961148 wrote:
    I missed x

    Well Yes, my apologies, I has not changed all that.

    It's a simple way to format the Z value to 2 decimal places?

    Yes. It depends on if you want to use rounded, floor, ceiling, truncate or if you like a string always have 2 decimal places etc.
    Make your choice and customize according to your needs...

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select 'WELLXXX' as MARKERBOREHOLE, '65372643AAAA' as UWI, 'Cw' as MARKERSURFACE, -982.985619574516 as Z from dual union all
      2             select 'WELLXXX', '65372643AAAA', 'Cn', -1891.47401803955 from dual union all
      3             select 'WELLXXX', '65372643AAAA', 'J', -674.989528816517 from dual union all
      4             select 'WELLXXX', '65372643AAAA', 'K3', 20.00165000429 from dual union all
      5             select 'WELLXXX', '65372643AAAA', 'Tr', 125.000317308153 from dual union all
      6             select 'WELLXXX', '65372643AAAA', 'K1', -658.989731894024 from dual union all
      7             select 'WELLXXX', '65372643AAAA', 'Q', 149.999999999549 from dual union all
      8             select 'WELLYYY', '56618334AAAA', 'Jkm', -715.071442105268 from dual union all
      9             select 'WELLYYY', '56618334AAAA', 'K3', 36.9013966413975 from dual union all
     10             select 'WELLYYY', '56618334AAAA', 'J2', -976.056079257549 from dual union all
     11             select 'WELLYYY', '56618334AAAA', 'Tr', 106.900507694299 from dual)
     12  --
     13  -- END OF TEST DATA - IGNORE ABOVE WITH CLAUSE
     14  --
     15  select z
     16        ,round(z,2) as round_z_2
     17        ,floor(z*100)/100 as floor_z_2
     18        ,ceil(z*100)/100 as ceil_z_2
     19        ,trunc(z,2) as trunc_z_2
     20        ,to_char(round(z,2),'fm9990.00') as string_z_2
     21* from t
    SQL> /
    
                      Z  ROUND_Z_2  FLOOR_Z_2   CEIL_Z_2  TRUNC_Z_2 STRING_Z
    ------------------- ---------- ---------- ---------- ---------- --------
     -982.9856195745160    -982.99    -982.99    -982.98    -982.98 -982.99
    -1891.4740180395500   -1891.47   -1891.48   -1891.47   -1891.47 -1891.47
     -674.9895288165170    -674.99    -674.99    -674.98    -674.98 -674.99
       20.0016500042900         20         20      20.01         20 20.00
      125.0003173081530        125        125     125.01        125 125.00
     -658.9897318940240    -658.99    -658.99    -658.98    -658.98 -658.99
      149.9999999995490        150     149.99        150     149.99 150.00
     -715.0714421052680    -715.07    -715.08    -715.07    -715.07 -715.07
       36.9013966413975       36.9       36.9      36.91       36.9 36.90
     -976.0560792575490    -976.06    -976.06    -976.05    -976.05 -976.06
      106.9005076942990      106.9      106.9     106.91      106.9 106.90
    
    11 rows selected.
    

    with above code I try to create a new view in SQL Developer, but I have error:

    Error(s) parsing SQL:
    Unexpected token near *!* in the following:
    select markerborehole, listagg(z,chr(10)) within *!*group(order by rn) as z
    Unexpected token near *!* in the following:
    select markerborehole, listagg(z,chr(10)) within group*!*(order by rn) as z
    Missing expression near  *!* in the following:
    select markerborehole, listagg(z,chr(10)) within group(*!*order by rn) as z
    

    What are all the {noformat}! * * {noformat} in the code? Delete them.

    Edit: or maybe your version of SQL Developer is not up-to-date and does not know the new LISTAGG function in 11g?

    Published by: BluShadow on 26-Sep-2012 09:41

  • Partitions don't synchronize only not - Oracle SQL Developer 4.1.3.20

    Hello

    First of all, thanks a lot for developers for this great tool.

    I use the Data Modeler which comes with Oracle SQL Developer 4.1.3.20.

    In the 12 c database, I created the following table:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10

    LOGGING NOCOMPRESS NO INMEMORY

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    I import with Data Modeler and add the partition:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10 TABLESPACE SYSTEM NOT LOGGING NOCOMPRESS NO INMEMORY RANGE PARTITION

    (

    DATE_TEST_TABLE

    )

    INTERVAL OF

    (

    NUMTOYMINTERVAL (1, 'MONTH')

    )

    (

    PARTITION P_BEFORE_2010 VALUES LESS THAN (TO_DATE (JANUARY 1, 2010 ',' DD/MM/YYYY "")) NOCOMPRESS

    )

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    So I can create a partition and generates the correct code.

    I click on "Synchronize data dictionary with model" and see the differences with the model and the database.

    In the models 'compare', 'Physical Details' is red. 'Partition' is red, "Selected" are marked, "Source table: TEST_TABLE ' is YES and" target Table: TEST_TABLE "is no.

    "Partitioning" is marked, and I can see the new partition "P_BEFORE_2010."

    teste_partition_chamado_oracle.png

    But when I click on 'Overview of DOF', theres no changes:

    -Generated by Oracle SQL Developer Data Modeler 4.1.3.901

    -in: 2016-01-14 14:19:50 BRST

    -site: database Oracle 12 c

    -type: Oracle Database 12 c

    -Oracle SQL Developer Data Model Summary Report:

    --

    -CREATE TABLE 0

    -CREATION OF INDEX 0

    ...

    ...

    In the tool preferences, model, synchronization, it is marked:

    FUNCTION

    PACKAGE

    PROCEDURE

    ROLE

    SEQUENCE

    SYNONYM

    TABLESPACE

    In "Import Options", it is marked:

    Partitions

    Triggered

    What I am doing wrong? Is this some sort of bug?

    Hi Marcio,

    I'm afraid that data Modeler does not "DOF Preview" statements for changes in the distribution.

    Kind regards

    David

  • SQL Developer to crash at startup.

    I made several attempts using different versions of SQL Developer and different versions of Java on the machine with Microsoft Windows 8.1 Build Enterprise (x 64) 9600.

    sqldeveloper - 4.0.1.14.48 - no - jre.zip 235,385,812

    sqldeveloper - 4.1.2.20.64 - no - jre.zip 329,066,864

    sqldeveloper - 4.1.2.20.64 - x 64.zip 399,957,535

    sqldeveloper64 - 3.0.04.34 - no - jre.zip 154,645,086

    sqldeveloper64 - 3.2.20.09.87 - no - jre.zip 182,052,469

    sqldeveloper - 4.1.3.20.78 - no - jre.zip 331,401,110

    Example of process:

    (1) files extracted to sqldeveloper - 4.1.2.20.64 - no - jre.zip

    (2) run sqldeveloper

    (3) window appears asking you to JDK home - click 'Browse '.

    (4) access to the Java/jdk1.8.0_65 - click on "select a folder.

    (5) confirm the path with "OK".

    (6) beginning of the program - the start screen flashes on the screen, but for a short period of time (tenths of a second).

    (7) nothing else is happening.

    (8) for execution sqldeveloper again not questions about the JDK. All splash screen (once again just flash).

    (9) in the Manager of tasks (details) I see for about a half second the process 'sqldeveloper64W.exe '.

    I've tried combinations of different JDK and version of the SQL Developer - some versions display warning on the supported Java versions.

    The latest version I managed to run (ignoring warning) 3.2.20.09 has been building hand - 09.87 using java jdk1.8.0_65.

    No luck with all versions 4 +.

    I also tried to collect debugging information as described in http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-debug-info-for-oracle-sql-developer/

    First attempt was unsuccessful - screen displayed for the second half and then again in line with command prompt is displayed in the CMD window.

    I tried several times and finally was fast enough to press ctr + pause/break in this short time.

    I tried it with versions 4.1.2.20.64 and 4.1.3.20.78. The latest is here:

    
    2016-01-14 15:01:18
    Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode):
    
    
    "AWT-EventQueue-0" #15 prio=6 os_prio=0 tid=0x00000000160e7800 nid=0x66c runnabl
    e [0x0000000016d7e000]
       java.lang.Thread.State: RUNNABLE
            at com.sun.imageio.spi.FileImageInputStreamSpi.createInputStreamInstance
    (FileImageInputStreamSpi.java:55)
            at javax.imageio.ImageIO.createImageInputStream(ImageIO.java:357)
            at javax.imageio.ImageIO.read(ImageIO.java:1304)
            at oracle.ide.osgi.boot.SplashScreenImpl$ImagePanel.<init>(SplashScreenI
    mpl.java:273)
            at oracle.ide.osgi.boot.SplashScreenImpl.jbInit(SplashScreenImpl.java:18
    7)
            at oracle.ide.osgi.boot.SplashScreenImpl.<init>(SplashScreenImpl.java:15
    2)
            at oracle.ide.osgi.boot.api.SplashScreen$1.run(SplashScreen.java:62)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
            at java.awt.EventQueue.access$500(EventQueue.java:97)
            at java.awt.EventQueue$3.run(EventQueue.java:709)
            at java.awt.EventQueue$3.run(EventQueue.java:703)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP
    rivilege(ProtectionDomain.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:201)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:116)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:105)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    
    
    ^       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    C       at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    
    
    "AWT-Windows" #13 daemon prio=6 os_prio=0 tid=0x00000000160e6800 nid=0x26a8 runn
    able
    [0x0000000016c7f000]
       java.lang.Thread.State: RUNNABLE
      at sun.awt.windows.WToolkit.eventLoop(Native Method)
            at sun.awt.windows.WToolkit.run(WToolkit.java:306)
            at java.lang.Thread.run(Thread.java:745)
    
    
    "AWT-Shutdown" #12 prio=5 os_prio=0 tid=0x00000000160e4000 nid=0x278 in Object.w
    ait() [0x0000000016b7f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000efa047d0> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:502)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295)
            - locked <0x00000000efa047d0> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:745)
    
    
    "Java2D Disposer" #11 daemon prio=10 os_prio=2 tid=0x00000000160e3000 nid=0x60 i
    n Object.wait() [0x0000000016a7f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000ef9ff4b0> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
            - locked <0x00000000ef9ff4b0> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
            at sun.java2d.Disposer.run(Disposer.java:148)
            at java.lang.Thread.run(Thread.java:745)
    
    
    "Service Thread" #9 daemon prio=9 os_prio=0 tid=0x0000000015ac0800 nid=0x80c run
    nable [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "C1 CompilerThread2" #8 daemon prio=9 os_prio=2 tid=0x000000001414d800 nid=0x149
    c waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "C2 CompilerThread1" #7 daemon prio=9 os_prio=2 tid=0x000000001414b000 nid=0x1f9
    4 waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "C2 CompilerThread0" #6 daemon prio=9 os_prio=2 tid=0x0000000014146800 nid=0x254
    0 waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "Attach Listener" #5 daemon prio=5 os_prio=2 tid=0x0000000014144800 nid=0xde0 ru
    nnable [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "Signal Dispatcher" #4 daemon prio=9 os_prio=2 tid=0x0000000014143000 nid=0x1130
     waiting on condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    
    "Finalizer" #3 daemon prio=8 os_prio=1 tid=0x000000000229b800 nid=0x13bc in Obje
    ct.wait() [0x00000000154af000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000ef5870b8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
            - locked <0x00000000ef5870b8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
    
    
    "Reference Handler" #2 daemon prio=10 os_prio=2 tid=0x0000000014108800 nid=0xd8c
     in Object.wait() [0x00000000153af000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000ef586af8> (a java.lang.ref.Reference$Lock)
            at java.lang.Object.wait(Object.java:502)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
            - locked <0x00000000ef586af8> (a java.lang.ref.Reference$Lock)
    
    
    "main" #1 prio=5 os_prio=0 tid=0x00000000021a3800 nid=0x2274 in Object.wait() [0
    x000000000013e000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000efa09b08> (a java.awt.EventQueue$1AWTInvocationL
    ock)
            at java.lang.Object.wait(Object.java:502)
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1313)
            - locked <0x00000000efa09b08> (a java.awt.EventQueue$1AWTInvocationLock)
    
    
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1294)
            at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
            at oracle.ide.osgi.boot.SplashScreenImpl.SynchronizeWithEdt(SplashScreen
    Impl.java:539)
            at oracle.ide.osgi.boot.api.SplashScreen.createInstance(SplashScreen.jav
    a:66)
            - locked <0x00000000ef9b5698> (a java.lang.Object)
            at oracle.ide.osgi.boot.OracleIdeLauncher.showSplashScreen(OracleIdeLaun
    cher.java:821)
            at oracle.ide.osgi.boot.OracleIdeLauncher.main(OracleIdeLauncher.java:11
    3)
    
    
    "VM Thread" os_prio=2 tid=0x0000000014107800 nid=0x24fc runnable
    
    
    "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00000000021bb000 nid=0x201c runn
    able
    
    
    "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00000000021bd800 nid=0xfb4 runna
    ble
    
    
    "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00000000021bf000 nid=0x1f48 runn
    able
    
    
    "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00000000021c0800 nid=0x1b4c runn
    able
    
    
    "VM Periodic Task Thread" os_prio=2 tid=0x0000000015af8800 nid=0x408 waiting on
    condition
    
    
    JNI global references: 341
    
    
    Heap
     PSYoungGen      total 38400K, used 6704K [0x00000000ef580000, 0x00000000f200000
    0, 0x0000000100000000)
      eden space 33280K, 20% used [0x00000000ef580000,0x00000000efc0c0a0,0x00000000f
    1600000)
      from space 5120K, 0% used [0x00000000f1b00000,0x00000000f1b00000,0x00000000f20
    00000)
      to   space 5120K, 0% used [0x00000000f1600000,0x00000000f1600000,0x00000000f1b
    00000)
     ParOldGen       total 87552K, used 0K [0x00000000ce000000, 0x00000000d3580000,
    0x00000000ef580000)
      object space 87552K, 0% used [0x00000000ce000000,0x00000000ce000000,0x00000000
    d3580000)
     Metaspace       used 7621K, capacity 7854K, committed 7936K, reserved 1056768K
      class space    used 879K, capacity 968K, committed 1024K, reserved 1048576K
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    Please let me know if all the config files or additional information would help

    Concerning

    Location of these files can cause problems? It does not prevent SQL Developer 3.2 work.

    Apparently. Director of the company may shed some light on why this is true. In practice, you can try to force the SQL Developer user settings in a local folder that is writable, discutΘ in: problem starting sql developer 4.1.1.19.59

    For convenience, here's an excerpt.  Use your 4.1.3.20.78x64 installation.  Choose a path to a local folder, even one on a flash drive.  Should work.

    Add something like this line to the file sqldeveloper.conf to your installation:

    AddVMOption - Dide.user.dir =

  • Unable to connect the SQL Developer PDB

    Hello

    I am unable to connect to my pdb1 for SQL Developer.

    Oracle@Solaris:~$ lsnrctl status

    LSNRCTL for Solaris: Version 12.1.0.2.0 - Production on 4 January 2016 13:50:37

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    For Solaris TNSLSNR version: Version 12.1.0.2.0 - Production

    Start date 4 January 2016 10:57:08

    Uptime 0 days 2 h 53 min 29 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/12.1.0/grid/network/admin/listener.ora file

    The listener log file /U01/app/grid/diag/tnslsnr/Solaris/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=solaris) (PORT = 1521)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))

    Summary of services...

    Service '+ ASM' a 1 instance (s).

    Instance '+ ASM' READY State, has 1 operation for this service...

    Service 'cdb01' has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    Service 'cdb01XDB' has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    Service "Pdb1" has 1 instance (s).

    'Cdb01' instance, State LOAN, has 1 operation for this service...

    The command completed successfully

    Oracle@Solaris:~$

    SQL Developer:

    Status: Failure-Test failed: listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    Type of connection is that fundamental role is SYSDBA

    But I can connect to my CBD01 of SQL Developer.

    //

    Thank you

    Christophe

    SQL Developer:

    Status: Failure-Test failed: listener refused the connection with the following error:

    ORA-12505, TNS:listener is not currently of SID given in connect descriptor

    As another reviewer said Oracle 12 c requires SERVICE_NAME and no SID to connect to the PDB files.

    http://www.Oracle.com/technetwork/articles/database/multitenant-part1-PDBs-2193987.html

    What is a database of the container

    So, what is the big advantage in this configuration, you may ask? Couldn't we have just created several ordinary vanilla instead of several PDB databases? Yes, we could have; but each of these 'plain vanilla' databases would have then his own load of instance (process and memory). PDB do not have an instance associated with them, eliminating this overload. Let's look at the installer with an example. Suppose you have a CBD (database container - the real database that hosts the other PDB files) called CONA, who has a calledPDB1 of the PDB. If you check the Oracle instance, you will see that there is one - that of the CBD. First, let's check the ORACLE_SID:

    [oracle@prosrv1 ~]$ echo $ORACLE_SID CONA
    

    That's all. There is only a single SID; not one for each PDB. Then we will check the process, especially very important that known as 'pmon ":

    See this last sentence above? See this line in the status of listening port you have posted?

    Service "Pdb1" has 1 instance (s).

    Pdb1 has a 'service' - a SERVICE_NAME allows to connect to him and all other PDB files.

  • SQL Developer 4.1 stuck on loading for Mac

    Hi all

    I'm currently under Mac OSX 10.11.1 (El Capitan) and I downloaded SQL Developer 4.1.  When you try to start SQL Developer it gets stuck loading, shown below.Screen Shot 2015-11-07 at 1.17.57 PM.png

    JDK, I am running:

    Java version "1.8.0_45".

    Java (TM) SE Runtime Environment (build 1.8.0_45 - b14)

    Java for 64-bit Server VM (build 25.45 - b02, mixed mode)

    According to me, that it points to the right path of the JDK.  When I run SQL Developer sqldeveloper.sh I get the following exception:

    sqldeveloper.sh: line 4: cd: sqldeveloper.sh: not a directory

    java.lang.Exception: stack trace

    at java.lang.Thread.dumpStack(Thread.java:1329)

    to oracle.ideimpl.MainWindowImpl. < init > (MainWindowImpl.java:166)

    at oracle.ide.osgi.Activator.setupWindow(Activator.java:281)

    at oracle.ide.osgi.Activator.start(Activator.java:135)

    to org.eclipse.osgi.framework.internal.core.BundleContextImpl$ 1.run(BundleContextImpl.java:711)

    at java.security.AccessController.doPrivileged (Native Method)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)

    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)

    at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)

    at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)

    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)

    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)

    at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)

    at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)

    at org.netbeans.core.netigso.Netigso.start(Netigso.java:191)

    at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:209)

    at org.netbeans.ModuleManager.enable(ModuleManager.java:1352)

    at org.netbeans.ModuleManager.enable(ModuleManager.java:1156)

    at org.netbeans.core.startup.ModuleList.installNew (ModuleList.java:340)

    at org.netbeans.core.startup.ModuleList.trigger (ModuleList.java:276)

    at org.netbeans.core.startup.ModuleSystem.restore (ModuleSystem.java:301)

    at org.netbeans.core.startup.Main.getModuleSystem (Main.java:181)

    at org.netbeans.core.startup.Main.getModuleSystem (Main.java:150)

    at org.netbeans.core.startup.Main.start (Main.java:307)

    at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)

    at java.lang.Thread.run(Thread.java:745)

    CD to your home directory of the user

    go to the folder .sqldeveloper

    Nuke or rename the system4.1.2... directory

    try to run back to the top

    He found java or you'd never get the Startup dialog box

    You should be able to slide the .app into your Applications folder and run it directly from the doc vs launch of a shell/terminal

  • Import Export using SQL Developer

    People

    I have 6 tables whose data must be exported from a database and imported into the other. The structure of the table constraints etc. is the same across both of the DB.

    Database is 11g. Average amount of data in tables 5 is 2.5million contain lines and 1 340million.

    Could you please suggest the best possible way to the export and import of data using SQL Developer. Developer SQL version 3.2.20.09

    There is an option in the 'View' tab in Developer SQL by using 'DBA' but do not have s/n of these patterns. I am well aware expdp and impdp operations but it is managed by another team that can cause delays both want to do it myself.

    Can we do expdp and impdp on SQL Developer without access s/n?

    All of the suggestions.

    Thank you

    Simple method would be to create external table Using the ORACLE_DATAPUMP Access Driver. Its neat and fast.

    http://docs.Oracle.com/CD/B28359_01/server.111/b28319/et_dp_driver.htm#i1007502

  • No data in FA_ADDITIONS in Sql Developer 4.1.1.19.

    Hi all

    Select * from fa_additions

    No line

    In Sql Developer 4.1.1.19.

    When I check in the lower version of Sql developer, it shows the data.

    You can change the default in

    Preferences--> database--> NLS.

    See you soon

    AJ

Maybe you are looking for