仕事中使ってみて便利だったSQL。

# テーブル名称全て取得
select table_name from user_tables;

# 列名を全て取得
select column_name from user_tab_columns where table_name = ’****’;

# テーブルの項目検索
select * from user_tab_columns where column_name like ’%****%’;

資料を読み返すのが面倒な時はこれを使うと便利かも。

コメント

最新の日記 一覧

<<  2025年5月  >>
27282930123
45678910
11121314151617
18192021222324
25262728293031

お気に入り日記の更新

この日記について

日記内を検索