Home  >  Article  >  Database  >  oracle用什么SQL语句判断表存不存在

oracle用什么SQL语句判断表存不存在

WBOY
WBOYOriginal
2016-06-07 18:03:091004browse

oracle用什么SQL语句判断表存不存在

正在看的ORACLE教程是:oracle用什么SQL语句判断表存不存在。SQL SERVER用来判断表或视图存在的语句在ORACLE中不能用,请问该怎么写。
谢谢。 提问者: - 最佳答案 exists(select tname from tab where tname ='TABLENAME')

记得表名要大写,因为ORACLE是区分大小写的,所有的表名都存放在tab表中
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn