For the complete documentation index, see llms.txt. This page is also available as Markdown.

byteswapInt

This section contains reference documentation for the byteswapInt function.

Reverses the byte order of an integer value. Useful for converting between big-endian and little-endian representations.

Signature

byteswapInt(col)

Argument
Type
Description

col

INT

Integer value to reverse

Returns: INT

Usage Examples

SELECT byteswapInt(intCol) AS value
FROM myTable

Last updated

Was this helpful?