What is the equivalent of object_name() in oracle?

by elise_daugherty , in category: MySQL , 8 months ago

What is the equivalent of object_name() in oracle?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by wilmer.lemke , 8 months ago

@elise_daugherty 

In Oracle, the equivalent of object_name() function is OBJECT_NAME in the DBA_OBJECTS or ALL_OBJECTS views. You can use the following query to get the name of an object in Oracle:

1
2
3
SELECT OBJECT_NAME 
FROM DBA_OBJECTS 
WHERE OBJECT_ID = <object_id>;


Replace <object_id> with the actual object ID for which you want to retrieve the name.

Related Threads:

What is the equivalent function in oracle for if function in mysql?
What is the equivalent of jquery $.extend() in ember.js?
How to improve an update query in oracle?
How to make a continuous delete statement in oracle?
How to import oracle sql file into mysql?
How to get 2 distinct rows from 1 row with 3 tables in sql oracle?