来者有分!!!!! select count(*) from colswhere table_name = 'YOURTABLE' and column_name = 'NAME2'------------------------------注意,需要大写 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 declareint li_count;beginselect count(*) into li_countfrom tab_tempwhere A = 'name2'if li_count > 0 then name2存在于表中end if;end; csdn上人气怎么这么差点!! declareint li_countbeginselect count(*) from yourtablename where a = 'NAME2';if li_count > 0 begin dbms_output.putline('name2存在') endifend ORACLE 查询 高手来! 关于oracle11g R2的 OS认证(在线等待,100分) oracle 外连接 只要你做了,就有分了,谢谢大家帮忙了 oracle 9i 的isqlplus 无法打开 在.net compact framework 下面能否使用Oracle Spatial来开发GIS数据库? 问一个oracle的问题,某列的值如果相同只返回一条记录?这样的oracle怎么写? 请教简单的Oracle 查询语句 mdac组建安装出现问题,说磁盘空间不够,但是所有硬盘驱动器让有数G的空间,这是咋回事? 关于创建过程的问题 一个多线程读数据库的问题? 用户管理(在线等待)
int li_count;
begin
select count(*) into li_count
from tab_temp
where A = 'name2'
if li_count > 0 then
name2存在于表中
end if;
end;
int li_count
begin
select count(*) from yourtablename where a = 'NAME2';
if li_count > 0
begin
dbms_output.putline('name2存在')
endif
end