检查数据库中是否存在表-PL SQL
问题描述:
我是PL SQL的新手,我需要检查服务器上是否存在表并将其删除.
I'm new in PL SQL, and I need to check if table exist on server and drop it.
预先感谢, 戈兰
答
您可以查询表名
select tname from tab where tname = 'TABLE_NAME_TO_SEARCH_FOR';