Home Tutorial Php Sql MySQL BIGINT

 
 

Share on Google+Share on Google+
MySQL BIGINT
Posted on: December 9, 2010 at 12:00 AM
Advertisement
This example illustrates how to use the bigint data type in the MySQL query

MySQL BIGINT

This example illustrates how to use the bigint data type in the MySQL query.

In this example we create a table with column bigint data type.

 

Query

 

create table table1 (col1 bigint default -9223372036854775807);

 

Query

 

insert into table1 values (default);

 

Query

 

select * from table1;

 

Output

 

+----------------------+
| col1                 |
+----------------------+
| -9223372036854775807 |
+----------------------+

 

Advertisement

Related Tags for MySQL BIGINT:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 9, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com