免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1494 | 回复: 1
打印 上一主题 下一主题

关于oracle , SQLDA 的结构中 , BLOB 型是多少呀, [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-09 10:40 |只看该作者 |倒序浏览
关于oracle ,  SQLDA 的结构中 ,  BLOB 型是多少呀,
T[i] 的值的问题,
比如说  NUMBER =1, CHAR=96 ,

BLOB 型是多少呀,TIMESTAMP是多什么呀,各位谁知道的 有没有全的,给发一个,多 谢

-------
struct SQLDA
{
long N; /* Descriptor size in number of entries */
char **V; Ptr to Arr of addresses of main variables */
long *L; /* Ptr to Arr of lengths of buffers */
short *T; /* Ptr to Arr of types of buffers */
short **I; * Ptr to Arr of addresses of indicator vars */
long F; /* Number of variables found by DESCRIBE */
char **S; /* Ptr to Arr of variable name pointers */
short *M; /* Ptr to Arr of max lengths of var. names */
short *C; * Ptr to Arr of current lengths of var. names */
char **X; /* Ptr to Arr of ind. var. name pointers */
short *Y; /* Ptr to Arr of max lengths of ind. var. names */
short *Z; /* Ptr to Arr of cur lengths of ind. var. names */
};

论坛徽章:
0
2 [报告]
发表于 2010-07-09 11:12 |只看该作者
回复 1# bsoeyx


   去oracle 官方 oci 手册 文档看 :
  
  A LOB (Large Object) stores binary or character data up to 128 terabytes in length.
Binary data is stored in a BLOB (Binary LOB), and character data is stored in a CLOB
(Character LOB) or NCLOB (National Character LOB).
LOB values may or may not be stored inline with other row data in the database. In
either case, LOBs have the full transactional support of the database server. A database
table stores a LOB locator that points to the LOB value, which may be in a different
storage space.
When an OCI application issues a SQL query which includes a LOB column or
attribute in its select-list, fetching the result(s) of the query returns the locator, rather
than the actual LOB value. In OCI, the LOB locator maps to a variable of type
OCILobLocator.

去他们的论坛看 ,运气好,碰到热心的老外,会给你解答 oci的问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP