Ver Mensaje Individual
  #3  
Antiguo 28-01-2013
giantonti giantonti is offline
Miembro
NULL
 
Registrado: ene 2013
Posts: 26
Reputación: 0
giantonti Va por buen camino
Cita:
Empezado por Casimiro Notevi Ver Mensaje
Pues crea antes la otra.
lo estoy haciendo pero me da error

Msg 156, Level 15, State 1, Line 23
Incorrect syntax near the keyword 'CONSTRAINT'.

te envio la linea 23

Código SQL [-]
  CONSTRAINT DPSUCURSAL_DPALMACEN FOREIGN CREATE INDEX  (ALM_CODSUC) REFERENCES   dpsucursal (SUC_CODIGO) ON UPDATE CASCADE
 ;
Responder Con Cita