![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据字典
jgmydsai
道森oracle讲师,课程:sql高级查询改写
展开
-
Sqlserver数据字典
以下内容出自cookbook /*列出模式中的表*/ select table_name from information_schema.tables where table_schema = 'SMEAGOL' /*列出表的列*/ select column_name, data_type, ordinal_position from information_sc转载 2013-08-25 14:39:06 · 865 阅读 · 0 评论 -
db2数据字典
以下内容出自cookbook /*列出模式中的表*/ select tabname from syscat.tables where tabschema = 'SMEAGOL' /*列出表的列*/ select colname, typename, colno from syscat.columns where tabname = 'EMP' and转载 2013-08-25 14:38:22 · 1301 阅读 · 0 评论 -
谁drop了我库中的用户
学生 10:06:44 教主,用户被删除了,怎么查询什么时间,被谁删的? 如果默认审计没有被磁原创 2014-07-31 11:01:09 · 741 阅读 · 0 评论 -
LISTAGG之取索引对应列名称
SQL> select i.TABLE_NAME, 2 i.INDEX_NAME, 3 (select listagg(uc.COLUMN_NAME, ',') within group(order by uc.COLUMN_POSITION) 4 from user_ind_columns uc 5 whe原创 2013-08-12 22:40:51 · 1193 阅读 · 0 评论