cast_longint.sql 227 B

1234567
  1. /* postgres can not */
  2. $value = CAST(-7 AS Decimal(10, 0));
  3. SELECT
  4. $value AS binary,
  5. CAST($value AS String) AS to_string,
  6. CAST("+123" AS Decimal(10,0)) AS from_string,
  7. CAST("bad" AS Decimal(10,0)) AS bad_cast;