FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Edit a record?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Edit a record? [message #176204 is a reply to message #176199] Sat, 03 December 2011 18:57 Go to previous messageGo to previous message
Beauregard T. Shagnas is currently offline  Beauregard T. Shagnas
Messages: 154
Registered: September 2010
Karma:
Senior Member
Charles wrote:

> I'm working on an application. I'm trying to implement an update
> [snip]
> Month_of_birth
> Day_of_birth
> Year_of_birth
>
> Anyone have any ideas they'd care to share?

Why the three separate fields? Just use a single DATE field (name it DOB
or similar) and if/when you need to report on it, simply pull out the
month or day or year parts in your SELECT query. Much easier to maintain.

Trying to arrange, say, a sort by birthdate with your method is much more
difficult.

--
-bts
-This space for rent, but the price is high
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: regex help
Next Topic: Upload xlsx /xls and save to DB using minimum memory?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 21:49:31 GMT 2024

Total time taken to generate the page: 0.03939 seconds