If you use a login.sql script to set the SQL*Plus environment from your current working directory, you will see that it will not run anymore in 12.2. This is a security feature, and a good occasion to explain how sqlplus finds the scritps to run, on Linux.
For my test I have login.sql, LOGIN.SQL and script.sql in the following directories
$ tree /tmp/mytest/
/tmp/mytest/
├── a
│ ├── login.sql
│ ├── LOGIN.SQL
│ └── script.sqlL
├── b
│ ├── login.sql
│ ├── LOGIN.SQL
│ └── script.sql
├── login.sql
├── LOGIN.SQL
└── script.sql
I’m going to the parent directory
cd /tmp/mytest
The scripts display their name:
+ head login.sql LOGIN.SQL script.sql
==> login.sql LOGIN.SQL script.sql <==
prompt Hello from /tmp/mytest/script.sql
Recent comments
3 years 3 days ago
3 years 12 weeks ago
3 years 17 weeks ago
3 years 17 weeks ago
3 years 22 weeks ago
3 years 43 weeks ago
4 years 11 weeks ago
4 years 41 weeks ago
5 years 25 weeks ago
5 years 26 weeks ago