Select Count(*) From user_objects where object_name='???';
解决方案 »
- 表数据交换--急!!!!
- 请各位高手帮忙,谢谢. 连网后提示ORA-12514.
- 如何把二进制文件的内容导入数据库中?
- 替换问题
- 重复SQL的问题,把重复的字段设为空。
- 我的pro*c预编译器有问题?
- SQL*PLUS怎么在已经建立的表里增加新的一列?
- Oracle8.0.5 SID有orcl和orc1
- 哪位不太提问题,可用分又多的朋友,给捐些可用分?我想把问题都分开贴子来提问,把分数给得合理一点。先谢了。
- SOS,高分急求帮助,关于orcale连接问题?
- 如何将oracle 客户端 sql/net打包进安装程序(如installshield)
- DBArtisan 7.0的注册码(unlock码)
显示是0个,但表是存在的呀?
快点回复啊,我想结贴了
你可以查询user_objects,dba_objects,all_objects数据字典
Select Count(*) From user_objects where object_name=Upper('TableName');
或
Select Count(*) From all_tables where table_name=Upper('TableName');
Select Count(*) From all_tables where Upper(table_name)=Upper('TableName');
merge into table1 a
using(select * from table2 b)
on (a.id=b.id)
when matched then
update set fno='old'
when not matched then
insert into values(a.id,'new');