Hello, Oracle Database World!
Posted on 3月 11th, 2012 by cx20
Oracle Database
Oracle Database は Oracle の RDBMS である。名前の由来は「神の言葉(神託)」から。9i の「i」は「internet」、10g の「g」は「grid」の略とされている。言語として SQL を拡張した PL/SQL が用いられる。PL は手続型言語(Procedural Language)を意味する。
サンプルに見かけるユーザー/パスワード「scott/tiger」は開発者の名前と飼い猫に由来する。
バージョン | リリース | 製品名 |
---|---|---|
7 | 1992年 | Oracle7 |
8 | 1997年 | Oracle8 Database |
8.1 | 1999年 | Oracle8i Database |
9 | 2001年 | Oracle9i Database Release 1 |
9.2 | 2002年 | Oracle9i Database Release 2 |
10.1 | 2003年 | Oracle Database 10g Release 1 |
10.2 | 2005年 | Oracle Database 10g Release 2 |
11.1 | 2007年 | Oracle Database 11g Release 1 |
11.2 | 2009年 | Oracle Database 11g Release 2 |
ソースコード
実行方法(入力ファイルをリダイレクト指定した場合)
C:¥> sqlplus scott/tiger@orcl < hello.sql |
実行方法(ファイル名をオプション指定した場合)
C:¥> sqlplus scott/tiger@orcl @hello.sql |
実行結果
MESSAGE ---------------------------------------- Hello, Oracle World! |
Tags: Oracle Database, PL/SQL
Categories: Oracle Database, PL/SQL, SQL