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

  • 相关阅读:
    POJ_1485_dp
    POJ_1376_bfs
    [noi1994]海盗
    [noi1755]Trie
    [luogu3733]八纵八横
    [noi1774]array
    [noi1773]function
    [noi1754]SA
    [noi1779]D
    [bzoj4873]寿司餐厅
  • 原文地址:https://www.cnblogs.com/cynthia0706/p/10271406.html
Copyright © 2011-2022 走看看