‐Postgresql編
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- テーブル情報の表示 | |
testdb=> \d -- teble 一覧表示 | |
リレーションの一覧 | |
スキーマ | 名前 | 型 | 所有者 | |
----------+------------+----------+-------- | |
public | department | テーブル | toshi | |
(1 行) | |
testdb=> \d department -- tableのカラム名/型を表示 | |
テーブル "public.department" | |
列 | 型 | 修飾語 | |
--------+---------------+---------- | |
id | integer | not null | |
dept | character(50) | not null | |
emp_id | integer | not null | |
インデックス: | |
"department_pkey" PRIMARY KEY, btree (id) | |
-- 接続終了 | |
testdb=> \q | |
-- 設定ファイルの確認 | |
testdb=> SHOW config_file | |
0 件のコメント:
コメントを投稿