(as the previous answer) and here’s the code:
ALTER TABLE atable
ADD (tmpdetails CLOB);
UPDATE atable SET tmpdetails=details;
COMMIT;
ALTER TABLE atable DROP COLUMN details;
ALTER TABLE atable
RENAME COLUMN tmpdetails TO details;
Related Contents:
- How to check for null/empty/whitespace values with a single test?
- CASE .. WHEN expression in Oracle SQL
- Is it possible to output a SELECT statement from a PL/SQL block?
- Different CURRENT_TIMESTAMP and SYSDATE in oracle
- Best way to reset an Oracle sequence to the next value in an existing column?
- PL/SQL block problem: No data found error
- How to insert date values into table
- If statement in select (ORACLE)
- Oracle date “Between” Query
- How to use BOOLEAN type in SELECT statement
- Oracle – Why does the leading zero of a number disappear when converting it TO_CHAR
- How to kill a running SELECT statement
- How to count the number of occurrences of a character in an Oracle varchar value?
- BETWEEN clause versus =
- Get list of all tables in Oracle?
- Is there a combination of “LIKE” and “IN” in SQL?
- What is the difference between Views and Materialized Views in Oracle?
- When do I need to use a semicolon vs a slash in Oracle SQL?
- How can I get column names from a table in Oracle?
- Oracle find a constraint
- How to add ‘ON DELETE CASCADE’ in ALTER TABLE statement
- Comparing Dates in Oracle SQL
- How to declare variable and use it in the same Oracle SQL script?
- Is there any difference between “!=” and “” in Oracle Sql?
- How to use Oracle ORDER BY and ROWNUM correctly?
- Do I need to create indexes on foreign keys on Oracle?
- MySQL ‘create schema’ and ‘create database’ – Is there any difference
- How to Alter Constraint
- Oracle DateTime in Where Clause?
- How can I get the number of records affected by a stored procedure?
- How can I introduce multiple conditions in LIKE operator?
- How to Select a substring in Oracle SQL up to a specific character?
- How to replace specific values in a oracle database column?
- How to run .sql file in Oracle SQL developer tool to import database?
- Oracle: What does `(+)` do in a WHERE clause?
- Counting number of joined rows in left join
- Delete with “Join” in Oracle sql Query
- Select without a FROM clause in Oracle
- What exactly do quotation marks around the table name do?
- Is inner join the same as equi-join?
- How do I query for something that starts with certain characters?
- Oracle SQL Developer – tables cannot be seen
- SQL – How to select a row having a column with max value [duplicate]
- INSERT SELECT statement in Oracle 11G
- How to create an Oracle sequence starting with max value from a table?
- How to return multiple rows from the stored procedure? (Oracle PL/SQL)
- Searching for Text within Oracle Stored Procedures
- Call a stored procedure with another in Oracle
- What is the equivalent of varchar(max) in Oracle?
- How can I insert multiple rows into oracle with a sequence value?