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. oraclesqlplus默认执行脚本

    2024-05-01 17:56:02       34 阅读
  2. 如何优化 Bash 脚本执行效率?

    2024-05-01 17:56:02       31 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-05-01 17:56:02       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-05-01 17:56:02       106 阅读
  3. 在Django里面运行非项目文件

    2024-05-01 17:56:02       87 阅读
  4. Python语言-面向对象

    2024-05-01 17:56:02       96 阅读

热门阅读

  1. 访问一个 HTTP 接口却收到 HTTPS 错误的响应

    2024-05-01 17:56:02       33 阅读
  2. python实现RGB模式颜色转换器

    2024-05-01 17:56:02       29 阅读
  3. Centos7安装完ifconfig命令出错:bash: command not found

    2024-05-01 17:56:02       31 阅读
  4. k8s pod 镜像拉取策略

    2024-05-01 17:56:02       27 阅读
  5. Python解释器:编程界的“翻译官”

    2024-05-01 17:56:02       30 阅读
  6. ps基础学习笔记-颜色模式

    2024-05-01 17:56:02       29 阅读
  7. 排序试题(一)

    2024-05-01 17:56:02       34 阅读
  8. “IP地址的未来:IPv6的机遇与挑战“

    2024-05-01 17:56:02       34 阅读