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

相关推荐
IDOlaoluo1 小时前
win64_11gR2_client.zip 怎么安装?Oracle 11g 客户端详细安装步骤
数据库·oracle
彦偈3 小时前
Centos7 oracle 11G 搭建ADG
数据库·oracle
fen_fen10 小时前
人大金仓数据库kingbase8创建表示例
数据库·oracle
Oracle NetSuite19 小时前
制造行业ERP如何选型?拥抱云端预算新时代
科技·oracle·制造·系统·erp
JuneXcy21 小时前
第2章 数据库系统的核心--数据模型
数据库·mysql·oracle
火星MARK1 天前
RAID详解
数据库·oracle
安审若无1 天前
Oracle 打补丁指南
数据库·oracle
❥ღ Komo·1 天前
PHP数据库操作全攻略
数据库·oracle
yumgpkpm1 天前
华为鲲鹏 Aarch64 环境下多 Oracle 、mysql数据库汇聚到Cloudera CDP7.3操作指南
大数据·数据库·mysql·华为·oracle·kafka·cloudera
学编程的董1 天前
07 计算字段的创建与使用 - 数据转换的艺术
数据库·oracle