Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/04/2006, 10:34
Avatar de deadlykyo
deadlykyo
 
Fecha de Ingreso: noviembre-2005
Ubicación: Cbba - Bolivia
Mensajes: 747
Antigüedad: 19 años, 3 meses
Puntos: 5
Si quieres crear tablas normales pero sin control de llaves foraneas con otras tablas puedes usar MyIsam, si quieres tener el control de integridad referencial (llaves foraneas), puedes usar InnoDB:
Código PHP:
//
CREATE TABLE `socios` (
`
idtinyint(4NOT NULL auto_increment,
`
nombreusuariotinytext NOT NULL,
`
emailtinytext NOT NULL,
`
passwordvarchar(15NOT NULL,
`
reppassvarchar(15NOT NULL,
`
nombretinytext NOT NULL,
PRIMARY KEY (`id`)
ENGINE=MyISAM DEFAULT CHARSET=latin1;

CREATE TABLE `socios` (
`
idtinyint(4NOT NULL auto_increment,
`
nombreusuariotinytext NOT NULL,
`
emailtinytext NOT NULL,
`
passwordvarchar(15NOT NULL,
`
reppassvarchar(15NOT NULL,
`
nombretinytext NOT NULL,
PRIMARY KEY (`id`)
TYPE=InnoDB DEFAULT CHARSET=latin1
ahi te dejo como cambiaria tu tabla con MyIsam y otra con InnoDB, por cierto puedes usar ENGINE o TYPE indistintamente, suerte, cya
__________________
"El Conocimiento es de todos, no solo de algunos"