• 数据库系统表查询


    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
    版权声明:本文为博主原创文章,转载请附上博文链接!

  • 相关阅读:
    多线程的设计模式
    Deque 双端队列
    并发Queue
    并发类容器
    同步类容器
    java0926
    第十二次作业
    第十一次作业
    第十次
    第九次
  • 原文地址:https://www.cnblogs.com/cynthia0706/p/10271406.html
Copyright © 2020-2023  润新知