gpt4 book ai didi

oracle - 检查数据库中是否存在表 - PL SQL

转载 作者:行者123 更新时间:2023-12-04 09:00:06 26 4
gpt4 key购买 nike

我是 PL SQL 的新手,我需要检查服务器上是否存在表并将其删除。

提前致谢,
戈兰

最佳答案

你可以查询表名

select tname from tab where tname = 'TABLE_NAME_TO_SEARCH_FOR';

关于oracle - 检查数据库中是否存在表 - PL SQL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3525448/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com