作者个人研发的在高并发场景下,提供的简单、稳定、可扩展的延迟消息队列框架,具有精准的定时任务和延迟队列处理功能。自开源半年多以来,已成功为十几家中小型企业提供了精准定时调度方案,经受住了生产环境的考验。为使更多童鞋受益,现给出开源框架地址:
https://github.com/sunshinelyz/mykit-delay
PS: 欢迎各位Star源码,也可以pr你牛逼哄哄的代码。
写在前面小伙伴们按照我写的文章顺利安装好Oracle数据库后,又在微信上问我:我想查看Oracle数据库中所有表和字段以及表注释和字段的注释,我该怎么操作呢?看着小伙伴们这么高的学习热情,这些问题我都安排上了!这不,解决方案来了!
获取表代码语言:javascript代码运行次数:0运行复制#当前用户拥有的表
select table_name from user_tables;
#所有用户的表
select table_name from all_tables;
#包括系统表
select table_name from dba_tables;
select table_name from dba_tables where owner='用户名'
#描述当前用户有访问权限的所有对象
ALL_OBJECTS describes all objects accessible to the current user.
#描述了数据库中的所有对象
DBA_OBJECTS describes all objects in the database.
#描述了当前用户所拥有的所有对象
USER_OBJECTS describes all objects owned by the current user.
user_tables:TABLE_NAME,TABLESPACE_NAME,LAST_ANALYZED等dba_tables:ower,table_name,tablespace_name,last_analyzed等all_tables:ower,table_name,tablespace_name,last_analyzed等all_objects:ower,object_name,subobject_name,object_id,created,last_ddl_time,timestamp,status等获取表字段代码语言:javascript代码运行次数:0运行复制select * from user_tab_columns where Table_Name='用户表';
select * from all_tab_columns where Table_Name='用户表';
select * from dba_tab_columns where Table_Name='用户表';
获取表注释代码语言:javascript代码运行次数:0运行复制user_tab_comments;表注释
select * from user_tab_comments
user_tab_comments:table_name,table_type,comments。
相应的还有dba_tab_comments,all_tab_comments,这两个比user_tab_comments多了ower列。
获取字段注释代码语言:javascript代码运行次数:0运行复制select * from user_col_comments
user_col_comments:table_name,column_name,comments
相应的还有dba_col_comments,all_col_comments,这两个比user_col_comments多了ower列。
user_col_comments;表字段注释(列注释)
user_col_comments视图显示已经为表中的列输入的注释。这些注释通过comment命令添加到数据库中。user_col_comments视图包含3 列:
Table_Name 表名或视图名Column_Name 列名Comments 已经为该列输入的注释