摘要:
--先排序然后删除第n条数据delete from scott.emp where empno in (select empno from (select * from scott.emp where comm is null and rownum < 2 order by hiredate des 阅读全文
摘要:
create or replace function clustering_factor(p_owner in varchar2,p_table_name in varchar2,p_column_name in varchar2)return number isl_cursor sys_refcu 阅读全文
摘要:
端午有人休息,有人忙 操作前数据: --从排序后的结果集中删除 前n条记录delete from emp where empno in (select empno from (select * from emp where comm is not null and rownum < &n order 阅读全文
摘要:
16:56:49 DZFPMX(24_112)@test> col object_type for a1016:57:00 DZFPMX(24_112)@test> col object_name for a2016:57:07 DZFPMX(24_112)@test> col subobject_ 阅读全文
摘要:
select case when subobject_name is null then obj.object_id else null end object_id ,--主对象idcase when obj.object_type = 'TABLE' then obj.object_type el 阅读全文