Oracle SQLs

SELECT SYS_CONTEXT ('USERENV', 'IP_ADDRESS') FROM DUAL;


declare
/* */
begin
dbms_auto_task_admin.DISABLE('auto optimizer stats collection', null, null);
end;
/


begin
DBMS_AUTO_TASK_ADMIN.disable( client_name => 'auto optimizer stats collection', operation => NULL, window_name => NULL);
DBMS_AUTO_TASK_ADMIN.disable( client_name => 'auto space advisor', operation => NULL, window_name => NULL);
DBMS_AUTO_TASK_ADMIN.disable( client_name => 'sql tuning advisor', operation => NULL, window_name => NULL);
end;
/


call dbms_stats.gather_database_stats_job_proc ( )

select * from DBA_AUTOTASK_OPERATION


select sysdate from dual
union all
select current_date from dual
union all
select systimestamp from dual;


select * from v$timezone_names;

ALTER DATABASE SET TIME_ZONE = '+8:00';

select * from database_properties where property_name='DBTIMEZONE';
select * from database_compatible_level;
select * from database_export_objects;
select database_name from dual;
select dbtimezone from dual;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值