Ver Mensaje Individual
  #2  
Antiguo 18-11-2005
Avatar de jhonny
jhonny jhonny is offline
Jhonny Suárez
 
Registrado: may 2003
Ubicación: Colombia
Posts: 7.058
Reputación: 30
jhonny Va camino a la famajhonny Va camino a la fama
Primero:

¿Porque creas un dominio llamado varchar100 y luego en lugar de usarlo usas varchar(100)?

Segundo:

Intenta cambiar
Código SQL [-]
CREATE INDEX IDX_DIST ON DISTRITOS(NOMBRE)

por
Código SQL [-]
ALTER TABLE DISTRITOS ADD CONSTRAINT PK_DISTRITOS PRIMARY KEY (NOMBRE);

Espero te sirva
__________________
Lecciones de mi Madre. Tema: modificación del comportamiento, "Pará de actuar como tu padre!"

http://www.purodelphi.com/
http://www.nosolodelphi.com/
Responder Con Cita