2

I am having an NCLOB column in oracle. When I create a row, I need to insert an empty_clob() using normal java insert query. Does anyone know how this is done? I am looking for something like the one below from java.

INSERT INTO MY_TABLE VALUES(1,'Abraham','empty_clob');

Thanks and Regards, Abraham Menacherry

0

1 Answer 1

3

You should correct your insert statement:

INSERT INTO MY_TABLE VALUES(1,'Abraham',empty_clob());

You should also take a look here.

The empty_clob function is also useful as default value for the clob column.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.