Skip to content
Advertisement

How to pass table name as a parameter in update procedure in Oracle?

I am new to Oracle so please sorry the question that seems to be very easy for you.

I need to get the following procedure with UPDATE query with replace function

This procedure removes all spaces.

But when I call it

I’ve got the following error

How can I modify my code to handle the problems?

Thank you.

Advertisement

Answer

You just need to add a space before set. Currently your table name is appended to set keyword and it is assuming it as a table name i.e MyTableSet

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement