(转)oracle sql%四种用法
来源:互联网 发布:网络乞丐麦词 编辑:程序博客网 时间:2024/06/04 19:45
oracle sql%四种用法
sql%NOTFOUND --update,delete操作时没找到符合条件的记录。
sql%FOUND --SELECT columnname INTO ,update,delete找到符合条件的记录Top
sql%rowcount --判定当前更新记录数
sql%isopen --判定当前游标是否打开Top
%FOUND
This attribute yields TRUE if an INSERT, UPDATE, or DELETE statement affected one or more rows or a SELECT INTO statement returned one or more rows. Otherwise, it yields FALSE.
%ISOPEN
This attribute always yields FALSE because Oracle closes the SQL cursor automatically after executing its associated SQL statement.
%NOTFOUND
This attribute is the logical opposite of %FOUND. It yields TRUE if an INSERT, UPDATE, or DELETE statement affected no rows, or a SELECT INTO statement returned no rows. Otherwise, it yields FALSE.
%ROWCOUNT
This attribute yields the number of rows affected by an INSERT, UPDATE, or DELETE statement, or returned by a SELECT INTO statement.
- (转)oracle sql%四种用法
- pl sql 学习笔记(四) merge oracle 用法
- oracle SQL简介(四)
- SQL中distinct的用法(四种示例分析)
- SQL中distinct的用法(四种示例分析)
- sql join()四种用法区别
- ORACLE SQL性能优化系列(四)
- ORACLE SQL性能优化系列(四)
- ORACLE SQL性能优化系列(四)
- ORACLE SQL性能优化(四)
- ORACLE SQL性能优化(四)
- Oracle PL/SQL 学习笔记(四)
- oracle sql优化 四(转载)
- Oracle 笔记(四)、SQL 几个要点
- Oracle基础(四)pl/sql
- Oracle sql函数精解(四)
- oracle sql学习四
- Oracle学习(四)--sql及sql分类讲解
- cacti 批量监控服务器
- EXT 隐藏条加字
- Apache服务器主要配置文件
- CQ安装报错CQCom.dll
- 九阳真经名句欣赏:清风拂山冈
- (转)oracle sql%四种用法
- SendMessage 参数
- LIS介绍
- 20091104_WCF
- javascript可拖动的日历
- 使用CQ API使用Email Rule发送邮件注意
- 零打碎敲学Android(四)—跳跃的火之意志!
- 面试题网站
- Luci Templates