zoukankan      html  css  js  c++  java
  • 查询数据库中的所有触发器

    SqlServer:

    select name from sysobjects where xtype='TR' --所有触发器
    select name from sysobjects where xtype='P' --所有存储过程
    select name from sysobjects where xtype='V' --所有视图
    select name from sysobjects where xtype='U' --所有表

    Oracle : 
    Select object_name From user_objects Where object_type='TRIGGER'; --所有触发器
    Select object_name From user_objects Where object_type='PROCEDURE'; --所有存储过程
    Select object_name From user_objects Where object_type='VIEW'; --所有视图
    Select object_name From user_objects Where object_type='TABLE'; --所有表

  • 相关阅读:
    Redis
    Redis
    Redis
    Redis
    Redis
    Redis
    Distributed
    Sentinel
    Archi
    Redis
  • 原文地址:https://www.cnblogs.com/ljs7490/p/11280963.html
Copyright © 2011-2022 走看看