Re: MySQL i referencijalni integritet
Pa vidi na netu, care. Referencijalni integritet imas samo ako stavis da
su tabele innodb tipa (default je myisam pa ti vidi, a erwin je budjav:),
a nisam siguran da to mozes da podesavas u erwinu (bar u nekoj staroj
verziji). anyways, google, pa kucaj mysql referential integrity i dobijes
10000 stranica korisnog stiva, procitaj prvih nekoliko i umeces sam da
dopunis erwinovu shemu. Citat sa druge stranice sa googlea:
Strictly speaking, for a field to be a foreign key, it needs to be defined
as such in the database definition. You can 'define' a foreign key in any
MySQL table type (including the default MyISAM table type), but they do
not actually do anything - they are only used to enforce referential
integrity in InnoDB tables.
Pozdrav,
Mihajlo
su tabele innodb tipa (default je myisam pa ti vidi, a erwin je budjav:),
a nisam siguran da to mozes da podesavas u erwinu (bar u nekoj staroj
verziji). anyways, google, pa kucaj mysql referential integrity i dobijes
10000 stranica korisnog stiva, procitaj prvih nekoliko i umeces sam da
dopunis erwinovu shemu. Citat sa druge stranice sa googlea:
Strictly speaking, for a field to be a foreign key, it needs to be defined
as such in the database definition. You can 'define' a foreign key in any
MySQL table type (including the default MyISAM table type), but they do
not actually do anything - they are only used to enforce referential
integrity in InnoDB tables.
Pozdrav,
Mihajlo
- Follow-Ups:
- Re: MySQL i referencijalni integritet
- From: Sasa Tomic <stomic@gmx.net>
- Re: MySQL i referencijalni integritet
- References:
- Re: MySQL i referencijalni integritet
- From: "Veljko Zrnic" <veljkoz@mail.ru>
- Re: MySQL i referencijalni integritet
Previous by date: Re: MySQL i referencijalni integritet
Next by date: Re: Skrolovanje u frejmu
Previous by thread: Re: MySQL i referencijalni integritet Next by thread: Re: MySQL i referencijalni integritet
Previous by thread: Re: MySQL i referencijalni integritet Next by thread: Re: MySQL i referencijalni integritet