
05/10/2003, 05:22
|
 | Il capo della mafia | | Fecha de Ingreso: febrero-2002 Ubicación: Al final del cable
Mensajes: 10.080
Antigüedad: 23 años Puntos: 55 | |
Bueno, yo he estado probando algo con el phpmyadmin y sí he podido. Esta es la estructura que me creó phpMyAdmin:
CREATE TABLE `prueba` (
`id` int(10) NOT NULL auto_increment,
`fecha1` datetime NOT NULL default '0000-00-00 00:00:00',
`fecha2` datetime NOT NULL default '0000-00-00 00:00:00',
`procesado` set('si','no') NOT NULL default 'no',
KEY `id` (`id`)
) TYPE=MyISAM ;
Y luego hice:
INSERT INTO `prueba` ( `id` , `fecha1` , `fecha2` )
VALUES ( '1', '0000-00-00 00:00:00', '0000-00-00 00:00:00' );
Y me puso por defecto el valor 'no'.
Espero que te sirva
__________________ www.mundodivx.com || www.mundodivx.org Pon tu mano en un horno caliente durante un minuto y te parecerá una hora.
Siéntate junto a una chica preciosa durante una hora y te parecerá un minuto.
Eso es la relatividad. |