PostgreSQL 2テーブル目at PHP
PostgreSQL 2テーブル目 - 暇つぶし2ch556:544
06/11/04 02:05:03
>>555
ありがとうございます
test=# select * from sns_message where insert > current_date - '3 day'::interval;
でいけました!
intervalにキャストしない状態だとcurrent_date +は通るんですがcurrent_date -は通らないんですね。
ERROR: invalid input syntax for type timestamp with time zone: "3 day"
だと怒られました。謎なんで調べてきます
本当にありがとう!


次ページ
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch