Re: MySQL Workbench ALTER VIEW bug? when using hexadecimal values
Date: Mon, 25 Apr 2016 08:47:48 -0400
Message-ID: <nfl3f7$med$1_at_jstuckle.eternal-september.org>
On 4/25/2016 3:59 AM, djburbridge_at_gmail.com wrote:
> Anyway, thanks for your response Jerry.
>
> Indeed - though the definition of "multiple values" here is probably open to interpretation. Is a datetime field non-normalised because it contains a day and a month and a year and an hour and a minute and a second?
>
That depends on the usage. If you're going to be regularly using the individual fields, i.e. looking at the 14th of every month or 13:00 every day, then it might be better to look at it as separate fields. However, this also precludes easy use of the the date and time functions. You have to decide based on how the data will be used.
When normalizing a database, how the data is used is usually more important than what the data is.
In this case you are using it as multiple values instead of a single one, so your database fails the 1NF test.
As I said - it very well could be a bug. But I also think people who properly normalize their databases would not see it.
-- ================== Remove the "x" from my email address Jerry Stuckle jstucklex_at_attglobal.net ==================Received on Mon Apr 25 2016 - 14:47:48 CEST