PL/SQL (MOSC)

MOSC Banner

Deleting nested column data

edited Feb 8, 2013 5:00AM in PL/SQL (MOSC) 3 commentsAnswered ✓
Hello community,

I have a problem. I have a table a and it has a column text value which is a nested table represented by b. I want to delete the records from table a based on text value of 'Regular' type.

Table A has following columns (object_id, text value, timestamp) and nested table b (text id, type, source)

So my delete query is

 delete from table (select t1.text value from nai_results t1, table(t1.text value) t2 where t2.type= 'Regular');

But it is not working and throwing ora-01427 error.

Please advise!

Regards,

Saurav

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