当前位置:
代码迷
>>
Oracle开发
>> oracle中定义type时,能否在其字段中包含一个游标?解决思路
详细解决方案
oracle中定义type时,能否在其字段中包含一个游标?解决思路
热度:
14
发布时间:
2016-04-24 07:33:29.0
oracle中定义type时,能否在其字段中包含一个游标?
比如:
create or replace type type_test
(
id varchar(20),
num number(10),
cur cursor
);
但是我这样定义是有错误的,报这个错误:
PLS-00201:identifier 'CURSOR' must be declared,
如果我想在其中包含一个游标应该怎么做?应该如何定义这个type?
------解决方案--------------------
探讨
引用:
你放游标做什么,数组不就的了
其实就相当于在java中定义一个bean, 有三个属性:id, num , 还有个list 我不知道list中到底会有多少个元素,但是定义varray时是要给出长度的,这个长度我不能提前知道,所以只好用cursor。
有没有更好的方法啊?
相关解决方案
新手,请问input type=text有关问题
不走"<script type='text/javascript'>"标签咋回事
input type=text 替空时 ,为什么不为null
<script type="javascript/text">的有关问题
oracle 分页排序,ssi,该怎么处理
oracle 最近的时间(而不是前一天的时间) 跪求sql语句 。解决方法
unsupported content type in editor解决思路
oracle,该怎么解决
在 Hibernate3 查询不到 Oracle 11g 里的记录
oracle 安装时出现 java tm 异常
android访问其他数据库(如:oracle、MySql等),希望大家给点建议!解决方案
怎样用android重写j2me,player里的createPlayer(InputStream stream, String type)解决方案
oracle 安插 LONG VARCHAR 类型数据
<input type="file" name="filename">该如何处理
<input type="file" name="filename">解决方法
ORACLE 一条SQL的有关问题
oracle loadjava如何用
oracle,该如何处理
C# + SQL server +oracle QQ交流群142703980解决方法
vc++.net中的有关问题( error C2440: 'type cast' : cannot convert from 'CString' to 'const char *')
Cannot marshal 'return value' Invalid managed/unmanaged type combination.解决思路
水晶报表-Exception of type 'System.OutOfMemoryException' was thrown.解决思路
水晶表格-Exception of type 'System.OutOfMemoryException' was thrown
水晶表格-Exception of type 'System.OutOfMemoryException' was thrown
怎么跟踪winform应用程序发送到数据库的sql(oracle、mssql)
自定义控件,怎么输出<input type="hidden" />的input
, 每次玩ASP都会遇到一些恶心的有关问题, 这次是:未能加载文件或程序集“Oracle.DataAccess”或它的某一个依赖项
input type="file" 下传文件有关问题
请问怎么限制<input type="text">的最小和最大值
asp.net 点击<input type="image" src="del.gif" /> 为什么会刷新页面!解决方法