- 查询违反约束
select cu.* from user_cons_columns cu, user_constraints au where cu.constraint_name = au.constraint_name and au.constraint_type = ‘P’ and au.constraint_name=‘SYS_C007734’; - 查询某张表某个时间点的数据
select * from tableName as of timestamp to_timestamp(‘2020-08-17 14:23:00’, ‘yyyy-mm-dd hh24:mi:ss’);
整理一些有用的sql
最新推荐文章于 2024-10-16 21:44:45 发布