Oracleのstored procedureをPostgreSQLに移行する
PostgreSQLへの接続
psql -h 192.168.137.131 -p 5432 postgres sa
tusc@6789#JKL
ユーザー作成
CREATE USER name thunisoft createdb; --(等価: CREATE ROLE name LOGIN createdb);
データベース作成
create database test_database owner = thunisoft;
ヘルプの表示 psqlで「help」と入力
[thunisoft@localhost ~]$ psql test_database
psql (9.3.6)
Type &quo ...
5月13日 13:22 投稿