25.10.2013 Views

New SQL Features in Firebird

New SQL Features in Firebird

New SQL Features in Firebird

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6<br />

Common <strong>SQL</strong> : HEX Literals<br />

Hexadecimal numeric and b<strong>in</strong>ary str<strong>in</strong>g literals<br />

Numeric literals : 0xHHHHHHHH<br />

Prefix 0x or 0X<br />

Up to 16 hexadecimal digits<br />

1 - 8 digits : data type is - signed <strong>in</strong>teger<br />

9 - 16 digits : data type is - signed big<strong>in</strong>t<br />

<strong>SQL</strong>> SELECT 0xF0000000, 0x0F0000000 FROM RDB$DATABASE;<br />

CONSTANT CONSTANT<br />

============ =====================<br />

-268435456 4026531840<br />

Luxembourg 2011 Whats new <strong>in</strong> <strong>Firebird</strong> <strong>SQL</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!