Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-07 18:03:09
Original
1068 people have browsed it

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

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

记得表名要大写,因为ORACLE是区分大小写的,所有的表名都存放在tab表中
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template