zoukankan      html  css  js  c++  java
  • SQL语句查询数据库的触发器、存储过程、视图以及表的SQL语句

    Sql Server数据库用SQL语句查询方法如下:

    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数据库用SQL语句查询方法如下:
    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'; --所有表

  • 相关阅读:
    简单工厂模式
    单例
    开发帮助网址
    图片上传
    数据提交
    存储过程
    标量值函数
    linux查看TCP各连接状态
    nginx配置文件nginx.conf
    php配置文件php-fpm.conf
  • 原文地址:https://www.cnblogs.com/jiyang2008/p/6085648.html
Copyright © 2011-2022 走看看