PostgreSQL/String Functions/Negation
Версия от 13:45, 26 мая 2010; (обсуждение)
Get negation
postgres=# SELECT ~ CAST("20" AS int8) AS "negation";
negation
----------
-21
(1 row)
postgres=#postgres=# SELECT ~ CAST("20" AS int8) AS "negation";
negation
----------
-21
(1 row)
postgres=#