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

相关推荐
herinspace2 小时前
管家婆网店ERP如何录入成本调价单
服务器·数据库·oracle·智能手机·电脑
忙里偷闲学python4 小时前
mysql
linux·数据库·mysql·oracle
廋到被风吹走4 小时前
【Java】JPA
java·开发语言·oracle
赵得C21 小时前
完整 Oracle 12c 分页 Demo(Spring Boot+MyBatis+PageHelper)
spring boot·oracle·mybatis
小宇的天下1 天前
Calibre 工具的几何处理基础(11-1)
数据库·oracle
山峰哥1 天前
SQL查询优化秘籍:从Explain分析到性能飞跃
开发语言·数据库·sql·oracle·性能优化·系统优化
FinTech老王1 天前
制造业Oracle迁移替换:集中式vs分布式架构如何选择?
分布式·oracle·架构
writeone1 天前
数据库课后题重点摘要
数据库·oracle
杨云龙UP1 天前
Oracle释放磁盘空间:alert.log和listener.log清理实战记录_20251225
运维·服务器·数据库·sql·oracle
小于晏1 天前
ThinkPHP中数据库索引优化指南:添加依据与实操要点
数据库·oracle