BIT(n): Bit data, where n is the number of bits (up to 64) : Bit « Data Type « SQL / MySQL






BIT(n): Bit data, where n is the number of bits (up to 64)

 
mysql>
mysql> CREATE TABLE employee(
    ->     id INT,
    ->     eName VARCHAR(10),
    ->     flat BIT(10)
    -> );
Query OK, 0 rows affected (0.01 sec)

mysql>
mysql> drop table employee;
Query OK, 0 rows affected (0.00 sec)

   
  








Related examples in the same category