Cast operators Cast (::) :: provides an alternative syntax to the CAST function. SQL Copy Copied SELECT '123'::long AS long; long --------------- 123