2011-09-13 キャスト PostgreSQL すぐ忘れてしまうのでメモメモ。2種類ある。 CAST ( expression AS type ) expression::type 例) CAST ( created AS date ) modified::date 参考URL) http://www.postgresql.jp/document/9.0/html/sql-expressions.html http://www.hoge256.net/2008/04/116.html