Created
December 29, 2011 10:49
-
-
Save masudak/1533494 to your computer and use it in GitHub Desktop.
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
オプション 説明 | |
\v サーババージョン | |
\d デフォルトデータベース | |
\h サーバホスト | |
\p 現TCP/IPポートかソケットファイル | |
\u ユーザネーム | |
\U フルのuser_name@host_nameアカウント名 | |
\\ リテラル‘\’バックスラッシュキャラクタ | |
\n ニューラインキャラクタ | |
\t タブキャラクタ | |
\ スペース(バックスラッシュの後のスペース) | |
\_ スペース | |
\R 現時刻、軍隊表記(0-23) | |
\r 現時刻、標準表記(1-12) | |
\m 現時刻の分 | |
\y 現年、2桁 | |
\Y 現年、4桁 | |
\D 日付(フルで) | |
\s 現時刻の秒 | |
\w 曜日名を頭3文字で(Mon, Tue, …) | |
\P am/pm | |
\o 月名を数字で | |
\O 月明を頭3文字で(Jan, Feb, …) | |
\c 発行されたステートメントごとに増加するカウンター | |
\l 現デリミタ(5.1.12で新規追加) | |
\S セミコロン | |
\' シングルクオート | |
\" ダブルクオート |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment