博客
关于我
SQL Syscolumns
阅读量:435 次
发布时间:2019-03-06

本文共 627 字,大约阅读时间需要 2 分钟。

数据库表结构详解

本表用于存储数据库中的列信息和存储过程参数信息。每行记录对应表中的一列或存储过程的一个参数。该表在每个数据库中都有对应的实例。

表结构字段说明如下:

  • name(名称):记录字段或参数的名称。
  • id(ID):表示该列所属表对象的ID,或是与存储过程参数关联的ID。
  • xtype(类型代码):表示字段的物理存储类型,具体值有34种可能。
  • type(类型):与xtype字段含义相同,同样表示物理存储类型。
  • usertype(用户类型):表示用户定义数据类型的ID,扩展了系统默认的数据类型。
  • length(长度):表示字段的最大存储长度,依据系统类型库中的定义。
  • precision(精度):表示数值类型字段的精度值。
  • scale(比例):表示数值类型字段的小数位数。
  • iscomputed(计算标志):0 表示字段未计算,1 表示字段已计算。
  • isoutparam(输出参数标志):1 表示该参数是输出参数,0 表示否。
  • isnullable(空值允许):1 表示字段允许空值,0 表示不允许。
  • status(状态标志):通过位掩码表示字段属性:
    • 0x08:允许空值。
    • 0x10:表示ANSI填充生效。
    • 0x40:表示参数为OUTPUT类型。
    • 0x80:表示为标识列。
  • 其他字段如offset、colorder、reserved等主要用于内部管理,不对外公开。

    该表结构设计充分考虑了数据库的灵活性和扩展性,能够满足不同存储过程开发需求。

    转载地址:http://qcfyz.baihongyu.com/

    你可能感兴趣的文章
    Notification 使用详解(很全
    查看>>
    NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty()
    查看>>
    NotImplementedError: Could not run torchvision::nms
    查看>>
    nova基于ubs机制扩展scheduler-filter
    查看>>
    Now trying to drop the old temporary tablespace, the session hangs.
    查看>>
    nowcoder—Beauty of Trees
    查看>>
    np.arange()和np.linspace()绘制logistic回归图像时得到不同的结果?
    查看>>
    np.power的使用
    查看>>
    NPM 2FA双重认证的设置方法
    查看>>
    npm build报错Cannot find module ‘webpack/lib/rules/BasicEffectRulePlugin‘解决方法
    查看>>
    npm build报错Cannot find module ‘webpack‘解决方法
    查看>>
    npm ERR! ERESOLVE could not resolve报错
    查看>>
    npm ERR! fatal: unable to connect to github.com:
    查看>>
    npm ERR! Unexpected end of JSON input while parsing near '...on":"0.10.3","direc to'
    查看>>
    npm ERR! Unexpected end of JSON input while parsing near ‘...“:“^1.2.0“,“vue-html-‘ npm ERR! A comp
    查看>>
    npm error Missing script: “server“npm errornpm error Did you mean this?npm error npm run serve
    查看>>
    npm error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装
    查看>>
    npm install CERT_HAS_EXPIRED解决方法
    查看>>
    npm install digital envelope routines::unsupported解决方法
    查看>>
    npm install 卡着不动的解决方法
    查看>>