Showing posts with label MY SQL. Show all posts
Showing posts with label MY SQL. Show all posts

Thursday, June 18, 2009

Tipe Field Pecahan

Tipe data pecahan di mysql untuk supaya bisa menampung pecahan waktu create harus:
contoh :
CREATE TABLE IF NOT EXISTS `mytable` (
`value1` float(2,1) NOT NULL default '0.0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ;

INSERT INTO `mytable` VALUES (16.7);

Topik