首页> 外国专利> SUPPORT OF MIXED SINGLE AND DOUBLE BYTE DATA IN A RELATIONAL DB PRODUCT

SUPPORT OF MIXED SINGLE AND DOUBLE BYTE DATA IN A RELATIONAL DB PRODUCT

机译:在关系型数据库产品中支持混合的单字节和双字节数据

摘要

A relational database system having mixed data comprises means for selectively designating a column in a database table as being for single byte character set data only. Preferably, the user application can specify the subtype of character data within a column as the column is created or added by specifying FOR SBCS or FOR MIXED in either the CREATE TABLE statement or the ALTER TABLE statement. This can be done by specifying the subtype of the character data types including CHAR, VARCHAR, and LONG VARCHAR. Along with specifying the subtype as either for single byte data or for mixed data, means are preferably provided for specifying the codepage to be used for the column of the table in the database. The subtype of the character can then be recorded in terms of the code page attributes of the character data type as stored in the database system catalogs. This encoding scheme provides an efficient method of determining whether a column is only for single byte character set data or mixed data, and at the same time knowing the correct codepage that is to be used for that column simply by querying the code page columns within the database system catalogs.
机译:具有混合数据的关系数据库系统包括用于选择性地将数据库表中的列指定为仅用于单字节字符集数据的装置。优选地,当在CREATE TABLE语句或ALTER TABLE语句中指定FOR SBCS或FOR MIXED时,用户应用程序可以在创建或添加列时指定列内字符数据的子类型。这可以通过指定字符数据类型的子类型来完成,包括CHAR,VARCHAR和LONG VARCHAR。除了指定用于单字节数据还是用于混合数据的子类型之外,优选地提供用于指定将用于数据库中的表的列的代码页的装置。然后可以根据存储在数据库系统目录中的字符数据类型的代码页属性来记录字符的子类型。这种编码方案提供了一种确定某列是仅用于单字节字符集数据还是混合数据的有效方法,同时只需查询查询中的代码页列,即可知道要用于该列的正确代码页。数据库系统目录。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号