易截截图软件、单文件、免安装、纯绿色、仅160KB

PL/SQL游标总结

游标:指向处理SQL语句的环境区域的指针或句柄
-----|-1 静态游标
       |---1.1 隐式游标
       |          处理:INSERT,DELETE,UPDATE及返回一行的SELECT语句
       |          操作:由PL/SQL自动定义并完成打开与关闭动作
       |          属性:%FOUND,%NOTFOUND,%ISOPEN,%ROWCOUNT
       |---1.2 显示游标
       |          处理:返回多行的SELECT语句
       |          操作:1.2.1 显示推进循环
       |                                --声明游标
       |                                --打开游标
       |                                --推进游标
       |                                --关闭游标
       |                     1.2.2 自动推进循环
       | 


相关文档:

db2 V8的有关SQL limits

The following tables describe certain SQL
limits. Adhering to the most restrictive case can help the programmer
design application programs that are easily portable.
Table 7. Identifier Length Limits
Description
Limit in Bytes
Longest authorization
name (can only be single-byte characters) ......

SQL Convert的用法

CONVERT 函数 [数据类型转换]
--------------------------------------------------------------------------------
功能 
返回转换成提供的数据类型的表达式。
语法 
CONVERT ( data type, expression [ , format-style ] )
参数 
data&nbs ......

ms sql存儲過程參數返回值

create table tabReProc
 (    
 name varchar(30),    
 age integer,    
 primary key(name,age)    
 ) 
 insert into tabReProc values('x7700',20) 
 insert into tabR ......

【转】ACCESS中如何在SQL语句的WHERE条件中加日期条件

转自
http://topic.csdn.net/t/20050110/09/3711952.html
access中时间要用#,不是双引号  
  select   *   from   kc   where   rq   <   #2000-01-01#   and   rq>#2002-01-01#  
  不要用between,它的效率泰低  
使用# 而不是 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号