- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 oracle查询当前用户下的所有表
1-- 查询当前用户下所有表的名称SQL> select table_name from user_tables;TABLE_NAME------------------------------SALGRADEBONUSEMPDEPT 2-- 统计当前用户下表的数量SQL> select count(*) from user_tables; C...
2018-11-27 17:37:50 19073 1
原创 将指定的时间(timestamp)转换为scn scn转换为timestamp 通过scn或timestamp查询过去某个时间点上的数据
一、将指定的时间(timestamp)转换为scn格式1:linux下 sqlplus scott/tiger1. 查询当前系统时间格式SQL> select sysdate from dual;SYSDATE---------03-NOV-172. 查询当前时间和scnSQL> select to_char(sysdate,'yyyy-mm-dd hh
2018-01-16 19:16:53 1530
Python面试宝典
2019-03-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人