Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/10/2013, 04:37
jona86
 
Fecha de Ingreso: enero-2012
Mensajes: 88
Antigüedad: 12 años, 3 meses
Puntos: 1
Respuesta: Devolver valor NULL en input

Si que tiene puesto valor NULL por defecto, te dejo la tabla:
CREATE TABLE `liga_calendario` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`temporada` int(11) NOT NULL DEFAULT '2012',
`jornada` int(4) NOT NULL,
`eq_local` int(11) NOT NULL,
`goles_local` int(4) DEFAULT NULL,
`eq_visitante` int(11) NOT NULL,
`goles_visitante` int(4) DEFAULT NULL,
`pabellon` int(11) DEFAULT NULL,
`fecha_hora` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
)