CentOS 设置 oracle 开机自动启动 1. [root@localhost ~]# gedit /etc/oratab 文件内容为: # # This file is used by ORACLE utilities. It is created by root.sh # and updated by the Database Configuration Assistant when creating # a database. # A colon, ':', is used as t
ORACLE的DATE类型的显示方式取决于NLS_DATE_FORMAT初始化参数NLS_DATE_FORMAT参数可以在以下几个级别设置1.数据库级别——如果希望所有人都看到某种格式的数据,则在SQLPLUS中运行 sql>alter system set nls_date_format='yyyy-mm-dd hh24:mi:ss'; 2.SESSION级别——如果只是希望自己看到某种格式而不影响其他人看到的结果 sql>alter session set nls_date_format=
先用超级管理员(sys)登陆服务器: sqlplus "sys/***@orcl as sysdba" 连接到:Oracle 查看ORACLE最大游标数: SQL> show parameter open_cursors; 查看当前打开的游标数目: SQL> select count(*) from v$open_cursor; 设置数据库最大游标数量: SQL>alter system set open_cursors=3000 scope=both;
1编写备份脚本 echo backup oracle database...... echo %~dp0 set file_dir=%~dp0 echo backup time...... set "year=%date:~0,4%" set "month=%date:~5,2%" set "day=%date:~8,2%" set "hour_ten=%time:~0,1%" set "hour_one=%time