0

I can't edit a nclob column data type in Oracle Database using SQL Developer :

enter image description here

4

1 回答 1

0

Left side of the screenshot says that you executed SELECT statement which results in some rows. CONFIG (which is CLOB, right?) can't show all data it contains in a single line, so you have an option to do so by clicking the pencil button - which is what you did, as showed on the right side of the screenshot.

Meaning: you are viewing SELECT statement's result, you can't edit it. If you want to edit column's contents, go to Object Navigator, find that table, go to the "Data" node and perform edit there.

What you wanted to do is to edit this (executed in SQL*Plus):

SQL> select * From dept;

    DEPTNO DNAME          LOC
---------- -------------- -------------
        10 ACCOUNTING     NEW YORK
        20 RESEARCH       DALLAS
        30 SALES          CHICAGO
        40 OPERATIONS     BOSTON

You can't edit anything here, it is just the result of a query. UPDATE would do it, or - if you used GUI (and yes, you do) - go to "Data" tab and do it there.

于 2020-04-24T05:42:23.530 回答