Re: Modify MySQL time column values
- From: "Ridge Burner" <nospam@xxxxxxxxxx>
- Date: Wed, 28 Jun 2006 13:20:24 -0500
Thanks lorento,
but what if I want to sort by this column? what if I want to add these
columns for a total?
I think data should be stored in a column that is designed to hold that type
of data, eg numbers go in INT() columns, dates go in DATE columns, text goes
in TEXT etc etc.
If you just throw data into a varchar, you seriously reduce your ability to
manage and manipulate the data you store.
--Ridge
I think you should not use time as column type..
better use VARCHAR(5)
.
- Follow-Ups:
- Re: Modify MySQL time column values
- From: -Lost
- Re: Modify MySQL time column values
- References:
- Modify MySQL time column values
- From: Ridge Burner
- Re: Modify MySQL time column values
- From: lorento
- Modify MySQL time column values
- Prev by Date: Re: Search MySQL db with PHP
- Next by Date: Re: Ignoring Case
- Previous by thread: Re: Modify MySQL time column values
- Next by thread: Re: Modify MySQL time column values
- Index(es):
Relevant Pages
|