zoukankan      html  css  js  c++  java
  • 数据库系统表查询

    1.利用sysobjects系统表查询:在这个表中,在数据库中创建的每个对象(例如约束、默认值、日志、规则以及存储过程)都有对应一行。

    select * from sysobjects where xtype='U'
    
    
    

    对象类型(xtype) 值的含义:

    AF = Aggregate function (CLR)

    C = CHECK constraint

    D = Default or DEFAULT constraint

    F = FOREIGN KEY constraint

    L = Log

    FN = Scalar function

    FS = Assembly (CLR) scalar-function

    FT = Assembly (CLR) table-valued function

    IF = In-lined table-function

    IT = Internal table

    P = Stored procedure

    PC = Assembly (CLR) stored-procedure

    PK = PRIMARY KEY constraint (type is K)

    RF = Replication filter stored procedure

    S = System table

    SN = Synonym

    SQ = Service queue

    TA = Assembly (CLR) DML trigger

    TF = Table function

    TR = SQL DML Trigger  触发器

    TT = Table type

    U = User table  

    UQ = UNIQUE constraint (type is K)

    V = View

    X = Extended stored procedure
    ---------------------
    作者:DICOMV3PACS
    来源:CSDN
    原文:https://blog.csdn.net/jackmacro/article/details/6405871
    版权声明:本文为博主原创文章,转载请附上博文链接!

  • 相关阅读:
    python中break与continue区别
    jmeter正则表达式
    python的input()函数与getpass标准库
    python实例练习-01登录
    python数据类型-字符串
    jmeter操作mysql
    jmeter文件下载
    字符逆序
    求解立方根
    求最小公倍数
  • 原文地址:https://www.cnblogs.com/cynthia0706/p/10271406.html
Copyright © 2011-2022 走看看