audit_event_name  case

Chapter 2: Transact-SQL Functions

biginttohex

Description

Returns the platform-independent 8 byte hexadecimal equivalent of the specified integer expression.

Syntax

biginttohex (integer_expression)

Parameters

integer_expression

is the integer value to be converted to a hexadecimal string.

Examples

Example 1

This example converts the big integer -9223372036854775808 to a hexadecimal string.

1> select biginttohex(-9223372036854775808)
2> go
----------------
8000000000000000

Usage

See also

Functions convert, hextobigint, hextoint, inttohex





Copyright © 2005. Sybase Inc. All rights reserved. case

View this book as PDF