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

  • 相关阅读:
    联考20200520 T2 函数
    联考20200520 T1 石子游戏
    模拟赛T2 中继系统
    模拟赛T2 仙人掌毒题
    BZOJ3462 DZY Loves Math II
    20200129模拟赛T1 string
    BZOJ1316 树上的询问
    BZOJ4559 成绩比较
    JZOJ4238 纪念碑
    BZOJ 2648 世界树
  • 原文地址:https://www.cnblogs.com/cynthia0706/p/10271406.html
Copyright © 2011-2022 走看看