Ver Mensaje Individual
  #7 (permalink)  
Antiguo 05/03/2009, 11:06
Avatar de a83
a83
 
Fecha de Ingreso: noviembre-2005
Ubicación: Santiago de chile
Mensajes: 637
Antigüedad: 18 años, 5 meses
Puntos: 1
Respuesta: tengo problemas para grabra los reguistros

CREATE TABLE `tblproducciones` (
`id_Produccion` int(11) NOT NULL auto_increment,
`id_tarea` int(45) unsigned NOT NULL,
`Cantidad` int(45) NOT NULL,
`id_PlanTurno` int(11) unsigned NOT NULL,
`Nombre` varchar(45) collate latin1_general_ci NOT NULL,
`id_Producto` int(11) unsigned NOT NULL,
`id_ClasesProducto` int(45) unsigned NOT NULL,
`id_reloj` int(11) unsigned NOT NULL,
`FechaIngreso` varchar(45) collate latin1_general_ci default NULL,
`id_op` int(11) unsigned NOT NULL,
`categoria` varchar(45) collate latin1_general_ci NOT NULL,
PRIMARY KEY (`id_Produccion`),
KEY `id_Produccion` (`id_Produccion`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=24 ;

--
-- Volcar la base de datos para la tabla `tblproducciones`
--

INSERT INTO `tblproducciones` (`id_Produccion`, `id_tarea`, `Cantidad`, `id_PlanTurno`, `Nombre`, `id_Producto`, `id_ClasesProducto`, `id_reloj`, `FechaIngreso`, `id_op`, `categoria`) VALUES
(4, 0, 23, 0, '', 0, 0, 0, NULL, 145, '20'),
(1, 0, 22, 0, '', 0, 0, 0, NULL, 146, '1');


esta es la tabla y tiene el id autonumerico