0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Oracleについての個人的まとめ

Posted at

この記事について#

自分の備忘録として、Oracle全般についての自分の考えや調べたことを記載していきます。
ほぼリンク集として使用。
経験が浅いので、間違っていることもあると思いますがご容赦ください。

sqlplus内でLinuxコマンドを実行するには

! をつけることで、Linuxコマンドを実行できる。
もちろんSQLファイル内に書くことも可能。


SQLplus実行

SQL>! ls

lsコマンドが実行される

&&の意味#

引数の入力の省略を意味する。

test.sql
select '&1' from dual;
select '&1' from dual;

だと2回引数を聞かれるが、

test.sql
select '&&1' from dual;
select '&&1' from dual;

だと1回で済む。

0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?