7/29/2011

... Just Sharing <-- Lame Title! XD *lol*

Hexadecimal value
Hexadecimal value is the value that can be digits 0 to 9, letters A, B, C, D, E, F, and 16 symbols. To declare hexadecimal value, MySQL provides writing with notation:
x'deretan_simbol_hexadesimal '

EX:-SELECT x'594F475941 ';
     -SELECT 0x594f475941;
The result: YogyaNilai bit
Bit / Byte is a typical term in the digital signal. A bit can be either zero (0) or one (1). Possible values ​​for a bit is 2 pieces (21). Possible values ​​for 2 bits is 4 (22), form 00, 01, 10, and 11. In general, the number of possible values ​​formed by the combination of n bits is equal to 2n fruit.
Authoring format:
b 'row of bits
EX:
SELECT b'01000001 '; = A
SELECT b'01000010 '; = B
SELECT b'01000011 '; = C
SELECT b'01000100 '; = D
SELECT b'01000101 '; = E
SELECT b'01000110 '; = F
SELECT b'01000111; = G
SELECT b'01001000 '; = H
SELECT b'01001001 '; = I
SELECT b'01001010 '; = J
  SELECT b'01001011 '; = K
SELECT b'01001100 '; = L
SELECT b'01001101 '; = M
SELECT b'01001110 '; = N
SELECT b'01001111 '; = O
SELECT b'01010000 '; = P
SELECT b'01010001 '; = Q
SELECT b'01010010 '; = R
SELECT b'01010011 '; = S
SELECT b'01010100 '; = T
SELECT b'01010101 '; = U
SELECT b'01010110 '; = V
SELECT b'01010111 '; = W
SELECT b'01011000 '; = X
SELECT b'01011001 '; = Y
SELECT b'01011010 '; = Z

No comments:

Post a Comment

Tricks and Tips