节点文献

SQL SERVER中自动标识列的改进

Improving Identify Field of SQL SERVER

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 陈斌

【Author】 CHEN Bin(Department of Electronic Engineering,Nantong Vocational College,Nantong,Jiangsu 226007)

【机构】 南通职业大学电子工程系 江苏南通226007

【摘要】 通过将用户自定义函数作为列的默认值和在列上使用触发器,解决了SQLSERVER中的自动标识列存在的两个问题:一是自动标识列的初始值只能是整型的数据,而无法使用包含字母的文本型数据或包含前导零的文本型数据;二是删除表中的若干条记录或是删除记录后再插入记录将导致表中记录在该列上的值不连续。

【Abstract】 There are two faults in identify field of SQL SERVER:the first,the initial value of the identify field can only be integrate data,and either textual value with capitals or textual value with zero in front of it is not allowed;the second,while delete some records of the table or delete some records of the table and then insert someone,the values of this field won’t continue.This paper solves the problems above by using user define function as the default value of identify fields and binding trigger on identify fields.

  • 【文献出处】 南通职业大学学报(综合版) ,JOURNAL OF NANTONG VOCATIONAL COLLEGE , 编辑部邮箱 ,2005年04期
  • 【分类号】TP311.13
  • 【下载频次】39
节点文献中: 

本文链接的文献网络图示:

本文的引文网络