| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: functional dependencies tht do not hold
Nabil wrote:
> Jan Hidders wrote:
>> Nabil wrote: >>> [...] There exist some cases where it is usefull to store even >>> those FD's that do not hold. Ofcourse we save these as not >>> holding and do not use them while normalizing. Does ne1 know when >>> it is helpfull to store fd's that do not hold?? >> >> Sure, but this sounds a bit like a home-work problem, so could you >> tell a bit more about why you want to know this?
If you mean by storing and FD "specify it as a constraint" then it is not only not useful, but in fact counterproductive since it may keep you from entering valid data. But if you mean by storing "keeping an SQL query around that checks if it is satsified" then it is potentially very useful because there are often many constraints that should hold, but in reality don't, and such a query allows you to check this.
![]() |
![]() |