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

相关推荐
水手胡巴3 小时前
oracle apex post接口
数据库·oracle
焱焱枫7 小时前
自适应SQL计划管理(Adaptive SQL Plan Management)在Oracle 12c中的应用
数据库·sql·oracle
偏右右9 小时前
PL/SQL 异常处理
数据库·sql·oracle
雾喔12 小时前
Java-11
java·开发语言·oracle
一勺菠萝丶13 小时前
计算机专业知识【MySQL 表名和列名使用中文的探讨】
数据库·mysql·oracle
dingdingfish16 小时前
Oracle LiveLabs实验:Oracle AI Vector Search - Basics
ai·oracle·vector·database·converged
摇滚侠1 天前
NCHAR_CS和CHAR_CS,导致UNION ALL 时,提示SQL 错误 [12704] [72000]: ORA-12704: 字符集不匹配
数据库·sql·oracle
two_rain1 天前
Oracle Rac 多路径链路不稳定引发IO降速-光弱
数据库·oracle
@Ycoder2 天前
Oracle 迁移到 PostgreSQL
数据库·postgresql·oracle
星石传说2 天前
Bio-ORACLE数据分享[decade 2010-2020] [Surface layers]
数据库·oracle·分享·环境数据