On 9/15/2011 4:17 PM, Sergio wrote: > ... foreign key (id_driver) references drivers(id)... What Daniel was indicating is that if the foreign key was set to cascade, then when you deleted the associated driver, then the cars would also be deleted. You may have is currently set to change the ID to null when the driver is deleted.
-- Thanks, Gordon