Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
たとえば、postgresのようにANSISQLで型をキャストすることは許可されていますか?
SELECT SUM( CAST(qnty AS int) - CAST(reserve AS int) ) AS sum ...
qntyとreserveは文字列です。
CAST式はSQL-92で追加されました。たとえば、このドラフトで確認できます。
CAST