FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
Cannot create FKEY Constraint in IB Expert/Firebird
Cannot create FKEY Constraint in IB Expert/Firebird
Iniciado por Brendon, 03,ene. 2005 19:38 - 1 respuesta
Conéctese…
Brendon
#1
Publicado el 03,enero 2005 - 19:38
I am trying to create a FKEY relationship between 2 tables JOB and JOBDEPARTMENT. D_NAME is the pkey of JOBDEPARTMENT and J_DEPARTMENT is the FKEY FIELD IN JOB.
When trying to execute:
alter table JOB
add constraint FK_JOB_1
foreign key (J_DEPARTMENT)
references JOB_DEPARTMENT(D_NAME)
on delete CASCADE
on update CASCADE
I get the following errors in IBExpert:
This operation is not defined for system tables.
unsuccessful metadata update.
object JOB_DEPARTMENT is in use .
Informar
0
0
bls
#2
Publicado el 03,enero 2005 - 20:51
I think you should rename the table job.
hth
björn
I am trying to create a FKEY relationship between 2 tables JOB and JOBDEPARTMENT. D_NAME is the pkey of JOBDEPARTMENT and J_DEPARTMENT is the FKEY FIELD IN JOB.
When trying to execute:
alter table JOB
add constraint FK_JOB_1
foreign key (J_DEPARTMENT)
references JOB_DEPARTMENT(D_NAME)
on delete CASCADE
on update CASCADE
I get the following errors in IBExpert:
This operation is not defined for system tables.
unsuccessful metadata update.
object JOB_DEPARTMENT is in use .
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto