Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active September 1, 2017 06:33
Show Gist options
  • Save kjunichi/5754065 to your computer and use it in GitHub Desktop.
Save kjunichi/5754065 to your computer and use it in GitHub Desktop.

シーケンス

現在の値を見るだけ

select sequence_name, last_number from user_sequences order by sequence_name;

sqlplus

DOS窓からも必要なデータの取得が出来たりする

sqlplus foo/pwd@db

Varchar2の扱い

長さ0バイトだとNULLとして格納されるのは、そういった設定がされているからか?

Oracle Database上は、NULLとVARCHAR2における空文字列は区別されない

が、 where句では

columnName = ''

では検索できない!

Link

関連記事

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment