码迷,mamicode.com
首页 >  
搜索关键字:cursor sharing    ( 3039个结果
oracle存储过程+游标处理select数据
create or replace PROCEDURE UPDATE_RECORDCODE is cursor location_data is select * from location where remark in('952701','9527008','952705');--申明游标 serviceCode NUMBER:=1; BEGIN for l in locati...
分类:数据库   时间:2014-09-02 12:29:14    阅读次数:220
Devstack: A copy of worked local.conf I'm sharing with you.
service_plugins = neutron.services.firewall.fwaas_plugin.FirewallPlugin[service_providers]service_provider=LOADBALANCER:Haproxy:neutron.services.loadb...
分类:其他好文   时间:2014-09-02 12:07:14    阅读次数:306
PL/SQL个人学习笔记(二)
declare cursor s is select version from city_server t; s_ city_server.version%type;begin open s; fetch s into s_; if s_>2 then DBMS_OUTPUT.put_line(s_); end if; close s;end;...
分类:数据库   时间:2014-09-02 10:35:24    阅读次数:200
查询android系统数据库 自定义sql语句 办法
Cursor draftCursor = mResolver.query(Uri.parse("content://sms"), new String[] {"canonical_addresses.address " + "from sms,threads,canonical_ad...
分类:移动开发   时间:2014-09-01 17:34:33    阅读次数:273
CSS cursor 属性 (不同光标)
CSS 参考手册实例一些不同的光标:span.crosshair {cursor:crosshair;}span.help {cursor:help;}span.wait {cursor:wait;}亲自试一试浏览器支持IEFirefoxChromeSafariOpera所有主流浏览器都支持 cur...
分类:Web程序   时间:2014-08-31 18:28:41    阅读次数:229
oracle ref游标
Oracle 系列:REF Cursor在上文 Oracle 系列:Cursor (参见:http://blog.csdn.net/qfs_v/archive/2008/05/06/2404794.aspx)中提到个思考:怎样让游标作为参数传递? 解决这个问题就需要用到 REF Cursor 。1,...
分类:数据库   时间:2014-08-30 23:02:20    阅读次数:329
关于光标属性cursor
光标的形状取值主要有以下几种: ? ? ?default,默认光标;hand,竖起一只手指的手形光标;crosshair,简单的十字线光标; ? ? ?text,大写字母I的形状;wait,用于标示程序忙用户需要等待的光标。 ? ...
分类:其他好文   时间:2014-08-29 00:12:56    阅读次数:320
android开发数据库Cursor 错误android.database.CursorWindowAllocationException
做android 开发的经常会遇android.database.CursorWindowAllocationException这样子的错误;一般出现这样的错误,大部分原因是因为没有关闭cursor,或者是因为Cursor使用不当,之前我的遇到这样的代码: ForecastData situation = null; ................ Cursor cursor...
分类:移动开发   时间:2014-08-28 16:18:59    阅读次数:342
Oracle 复制任意表一行的SQL语句(测试Ok)
测试了很久,网上说的方法很多,其实都是错误的,正确的写法: declare cursor rowAll is select * from tb_news where 1=1; row1 tb_news%rowtype; i int; begin i := 0; for row1 in rowAll loop ...
分类:数据库   时间:2014-08-28 14:52:26    阅读次数:294
修复 status 为 unusable 的 index
以DBA权限登陆,执行以下脚本即可。declare -- 指向所有 UNUSABLE 状态的 index 的游标 cursor c is select index_name, owner from dba_indexes where status='UNUSABLE'; owner d...
分类:其他好文   时间:2014-08-28 11:24:09    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!