PL / SQL的大小大于NVARCHAR2更大的数据类型支持 [英] PL/SQL data type support for size greater than NVarchar2

查看:273
本文介绍了PL / SQL的大小大于NVARCHAR2更大的数据类型支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PL / SQL有数据类型NVARCHAR2(大小),其中大小为32767字节;相当于4095的记录。

PL/SQL has data type NVARCHAR2(size) where the size is 32767 bytes; equivalent to 4095 records.

现在,我应该给作为替代NVARCHAR2可以支持多于4k的记录的数据类型?我有一个不支持分页asp.net一个gridview。其中数据类型是最适合支持超过4095条记录?

Now, what data type should i give as an alternative to NVARCHAR2 that could support more than 4k records? I have a gridview in asp.net that doesn't support paging. Which datatype is most suitable to support more than 4095 records?

推荐答案

这只是文字?你可以使用 CLOB

Is this just text? You could use CLOB:

CLOB 数据类型存储单字节和多字节字符数据。
  支持两个固定宽度和可变宽度字符集和
  都使用数据库字符集。 CLOB 对象最多可存储(4
  千兆字节-1)*(在块的价值 LOB 存储参数)
  字符数据。如果在你的数据库中的表空间是标准的
  块的大小,如果你已经使用了块的默认值
  创建一个 LOB 列时 LOB 存储的参数,那么这是
  相当于(4千兆字节 - 1)*(数据库块大小)

The CLOB data type stores single-byte and multibyte character data. Both fixed-width and variable-width character sets are supported, and both use the database character set. CLOB objects can store up to (4 gigabytes -1) * (the value of the CHUNK parameter of LOB storage) of character data. If the tablespaces in your database are of standard block size, and if you have used the default value of the CHUNK parameter of LOB storage when creating a LOB column, then this is equivalent to (4 gigabytes - 1) * (database block size).

您可以检查同一页面其他类型的( BLOB NCLOB ),用于存储大量的数据。

You can check same page for other types (BLOB, NCLOB) for storing large amounts of data.

这篇关于PL / SQL的大小大于NVARCHAR2更大的数据类型支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆