I want to be able to update a subtype attribute, and some research has led me to believe it can be done with TREAT. I have tried a couple of variations on this syntax:
UPDATE table1 t SET TREAT(VALUE(t) AS myType).attributeToUpdate = 10 WHERE id=1;
myType is a subtype of the type of table1.
Keep getting the error ORA-00927 missing equals sign
.
Thanks