<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><DIV></DIV>
<DIV>Me parece q el default esta mal yo uso default '0000-00-00'<BR>&nbsp;</DIV>
<DIV>
<DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ffffff" face=arial color=#0080ff size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <IMG height=68 src="http://www.exploradoresperuanos.galeon.com/peru/PERU1MOVE.GIF" width=93 align=center></FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ffffff" face=arial color=#0080ff size=3></FONT>&nbsp;</DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ffffff" face=arial color=#0080ff>Américo Aguilar Fernández <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Trujillo - Perú</FONT></DIV>
<DIV align=center><FONT color=#0080ff size=3></FONT>&nbsp;</DIV></DIV></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Mensaje original ----<BR>De: Potxoka Pony bravo &lt;potxoka3a@yahoo.es&gt;<BR>Para: usuarios@mysql-hispano.org<BR>Enviado: domingo, 7 de octubre, 2007 14:15:42<BR>Asunto: [MySQL Hispano] No me crea una tabla<BR><BR><PRE>Hola,<BR><BR>TEgno un servidor linux con mysql 5 y al crear una tabla en una base de datos me falla en el timestamp ¿Alguien puede decirme que error comento al insertar esta SQL? ¿Algun buen libro de SQL?. Muchas gracias<BR><BR>SQL:<BR><BR>DROP TABLE IF EXISTS `prueba`;<BR>CREATE TABLE `prueba` (<BR> `prueba_id` int(10) unsigned NOT NULL auto_increment,<BR> `text` varchar(250) collate utf8_spanish_ci NOT NULL default '',<BR> `etapa` enum('nueva','captura','finalizada') collate utf8_spanish_ci NOT NULL default 'nueva',<BR> `hash` char(32) collate utf8_spanish_ci NOT NULL default '',<BR> `fecha` timestamp NOT NULL default CURRENT_TIMESTAMP,<BR>
 `fecha_captura` timestamp NOT NULL default 0 ON UPDATE CURRENT_TIMESTAMP,<BR> `hash_captura` char(32) collate utf8_spanish_ci NOT NULL,<BR> `fecha_procesada` timestamp NOT NULL default 0 ON UPDATE CURRENT_TIMESTAMP,<BR> `hash_procesada` char(32) collate utf8_spanish_ci NOT NULL,<BR>  PRIMARY KEY  (`prueba_id`)<BR>)
 ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;<BR><BR>Saludos<BR></PRE>
<P>
<HR SIZE=1>
<BR><FONT face=Verdana size=-2>Sé un Mejor Amante del Cine<BR>¿Quieres saber cómo? <A href="http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html" target=_blank rel=nofollow>¡Deja que otras personas te ayuden! </A>.<BR></FONT></DIV><BR></DIV></div><br>


      <hr size=1><br><font face="Verdana" size="-2">Sé un Mejor Amante del Cine<br>¿Quieres saber cómo? <a href="http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html">¡Deja que otras personas te ayuden!
</a>.<br></font></body></html>