PL/SQL (MOSC)

MOSC Banner

ORA-00997 on select

edited Jun 17, 2015 7:39AM in PL/SQL (MOSC) 9 commentsAnswered

SQL> select body from proc where body='NULL1';

select proc_body from proc where body='NULL1'

                                 *

ERROR at line 1:

ORA-00997: illegal use of LONG datatype

But:

SQL> select body from proc where body is not null;

BODY

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

NULL0

NULL1

NULL2

NULL3

How can I get around this problem? I need to locate the row which matches the column='NULL1' for a

subsequent UPDATE of that column.

The column datatype is LONG

--

Christoph

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center