Hide a particular table name of our schema in SQL
How can I hide a particular table name of our schema?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 23, 2012, 9:34 PM EST
Example:
you can create a synonym y for table x
create synonym y for x;
Shankar MRank #874 · 2.5K reputationPosted Nov 30, 2012, 7:03 PM EST
There is no such way to hide table names in oracle sql. The only way is to create alternative names for database objects usually called Synonyms in Oracle.
To list all the tables for a particular use in Oracle SQL, we query the user_tables dictionary like,
SELECT *
FROM USER_TABLES;
Even, when you create the synonym for a table, the table does not go hidden.
Thanks,
Shankar