This section contains reference documentation for the byteswapLong function.
Reverses the byte order of a long value. Useful for converting between big-endian and little-endian representations.
byteswapLong(col)
col
LONG
Long value to reverse
Returns: LONG
SELECT byteswapLong(longCol) AS value FROM myTable
Last updated 4 months ago
Was this helpful?