GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltdb.com — BIN() Using VoltDBBIN()BIN() — Returns the binary representation of a BIGINT value as a string. SynopsisBIN( value ) DescriptionThe BIN() function returns the binary representation of a BIGINT value as a string. The function will return the shortest valid string representation, truncating any preceding zeros (except in the case of the value zero, which is returned as the string "0"). ExampleThe following example use the BIN and BITAND functions to return the binary representations of two BIGINT values and their binary intersection. $ sqlcmd 1> create table bits (a bigint, b bigint); 2> insert into bits values(55,99); 3> select bin(a) as int1, bin(b) as int2, 4> bin(bitand(a,b)) as intersection from bits; INT1 INT2 INTERSECTION -------- --------- ------------- 110111 1100011 100011 |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |