码迷,mamicode.com
首页 >  
搜索关键字:declare    ( 3361个结果
SQL Server 函数执行
在SQL Server 不只是procedure 可以用execute 来执行 function 也是可以的例子: create function ufn_A( @i as int) returns int begin return @i+1; end go declare @ii ...
分类:数据库   时间:2014-10-31 08:43:03    阅读次数:173
SQL Server 简单事务学习
select * from bankinsert into bank values(10000)insert into bank values(20000)--打开一个事务begin tran--定义临时变量declare @num int = 0;update bank set balance=b...
分类:数据库   时间:2014-10-30 22:24:29    阅读次数:309
更新客户配置文件
DECLARE l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type; l_rec_profile hz_customer_profile_v2pub.cust_profile_amt_rec_type; l_profile_amt_id NUMBER; l_profile_id...
分类:其他好文   时间:2014-10-30 19:17:23    阅读次数:259
T-sql编程
T-Sql中的变量都是@符号开头的以一个@符号开头,叫做“用户声明的变量”以两个@@开头的叫做"全局变量","系统变量",是由系统来维护的。无需我们维护--自己定义一个变量declare @userName nvarchar(50)--为变量赋值set @userName=N'黄林' 推荐Print...
分类:数据库   时间:2014-10-30 16:58:17    阅读次数:233
Oracle EBS附件下载功能
?? 附件下载功能 使用 fnd_lobs 表结合 fnd_gfm 包下载文件,可以下载已经存在fnd_lobs表里的文件,也可以手动写些内容进fnd_lobs表,然后在浏览器里显示: --1.下载fnd_lobs表里已经存在的文件: DECLARE   v_file_id NUMBER;   url       VARCHAR2(500 ); BEGIN   --Get ...
分类:数据库   时间:2014-10-30 13:36:52    阅读次数:278
oracle 游标使用全解
-- 声明游标;CURSOR cursor_name IS select_statement--For 循环游标--(1)定义游标--(2)定义游标变量--(3)使用for循环来使用这个游标declare --类型定义 cursor c_job is ...
分类:数据库   时间:2014-10-30 09:23:12    阅读次数:328
postgresql 函数demo
create or replace function refresh_product_usage() returns void as $$declare rec record; sub_rec record; init_pro_id integer; parent_product_id integ....
分类:数据库   时间:2014-10-30 09:20:25    阅读次数:275
bash shell 内部命令及添加
#manshellbuiltinsBASH_BUILTINS(1)BASH_BUILTINS(1)NAMEbash,:,.,[,alias,bg,bind,break,builtin,cd,command,comp-gen,complete,continue,declare,dirs,disown,echo,enable,eval,exec,exit,export,fc,fg,getopts,hash,help,history,jobs,kill,let,local,logout,popd,printf,pu..
分类:系统相关   时间:2014-10-30 01:55:08    阅读次数:222
VB API 之 透明窗体创建
首先我们要用到的API函数有SetWindowLong,GetWindowLong,SetLayeredWindowAttributes。SetWindowLong函数原型:Private Declare Function SetWindowLong Lib "user32" _Alias "S.....
分类:Windows程序   时间:2014-10-29 21:04:24    阅读次数:364
plsql调用存储过程
declare STERMINAL VARCHAR2(10); SPROCESS NUMBER;begin sj_transfera_digi_getmapping(60007631,103758,'DYH0100067830311',STERMINAL,SPROCESS); dbms_o...
分类:数据库   时间:2014-10-29 12:53:58    阅读次数:269
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!