oracle的sqlplus默认会执行的脚本

我原来是知道sqlplus会默认执行$ORACLE_HOME/sqlplus/admin/glogin.sql这个脚本

今天在一个陌生的环境调用sqlplus时总会默认执行两条语句 但是就是找不到被执行的文件在哪里

后来发现是在环境变量 ORACLE_PATH下的login.sql文件

ORACLE_PATH这个环境变量是sqlplus这个工具使用的一个环境变量

ORACLE_PATH Environment variable to specify the location of SQL scripts. If

SQL*Plus cannot find the file in ORACLE_PATH, or if

ORACLE_PATH is not set, it searches for the file in the current

working directory.

Not applicable to Windows

相关推荐
雷神乐乐1 小时前
Oracle基础知识
数据库·sql·oracle
XYLANCC1 小时前
oracle以注释作为表头进行查询并导出
数据库·oracle
消失在人海中5 小时前
Oracle资源管理器
数据库·oracle
文牧之5 小时前
Oracle RAC 中的 RBAL 进程
运维·数据库·oracle
Liu1bo16 小时前
【MySQL】库与表的操作
数据库·mysql·oracle
昭阳~21 小时前
MySQL故障排查与生产环境优化
数据库·mysql·oracle
酷爱码1 天前
python如何遍历postgresql所有的用户表
python·postgresql·oracle
麻雀无能为力1 天前
CAU数据库class2 SQL语言
数据库·sql·oracle
观无1 天前
数据库DDL
数据库·oracle
消失在人海中1 天前
Oracle 内存优化
数据库·oracle