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

相关推荐
NineData20 分钟前
NineData 与统信服务器操作系统完成兼容认证
数据库·oracle·操作系统·软件·数据库管理工具·ninedata·统信
山岚的运维笔记16 小时前
mysql 专业笔记 -- 第 36 章:MySQL 管理
运维·数据库·笔记·后端·mysql·oracle·dba
geovindu18 小时前
sql: Transaction & Concurrency Patterns using Oracel 21c
oracle·数据库开发·数据库架构
jnrjian18 小时前
DRG-50857 ORA-30576 drixmd.PurgeKGL CTXSYS
数据库·oracle
jnrjian19 小时前
Domain index 解决中英文 联合查询
oracle
jnrjian20 小时前
Domain sync job SCHEDULER 空白job
oracle
TLA技术1 天前
LogMiner vs 裸日志解析(三):Oracle日志解析中的“前镜像”和“后镜像”,到底怎么用?
数据库·oracle·flink·dba·迁移学习
点纭2 天前
C 语言 第七章 常用函数(3)
c语言·开发语言·算法·oracle·c#
oradh2 天前
Oracle Undo问题总结(ORA-600 [4xxx] 系列错误)
数据库·oracle
达梦数据2 天前
DMDRS辅助表生成规则与作用
数据库·oracle