Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
| Search | Today's Posts | Mark Forums Read
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 26th, 2006, 03:36 AM
Registered User
 
Join Date: Jul 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Datetime Field as index


Hi

Im wondering if a datetime field be indexed to improve my application's performance when comparing fetching rows based on date attributes. Like I want to fetch all rows that are older by a particular date and have them sorted by date.

Ron
http://www.pinoy-dream-academy.com
  #2 (permalink)  
Old August 8th, 2006, 11:26 PM
Friend of Wrox
 
Join Date: Jul 2003
Location: South San Francisco, CA, USA.
Posts: 128
Thanks: 0
Thanked 1 Time in 1 Post
Default

daworm,
Yes, I have done alot of times.
I even used this index to populate a default integer value
in a field and a username. This way I would know how many
times a user has transact a table/database.
Hope this helps.
cheers,
jmaronilla

  #3 (permalink)  
Old September 17th, 2006, 11:33 PM
Registered User
 
Join Date: Sep 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think the comment is correct..

http://www.pinoydreamacademy.info


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Use DateTime Field kcsathish ASP.NET 2.0 Professional 0 July 15th, 2008 01:01 AM
Text to DateTime Field lenredles SQL Server 2000 1 March 6th, 2006 10:09 PM
How do you search datetime field? SoC Classic ASP Basics 6 October 31st, 2004 09:39 PM
Searching datetime field SoC Classic ASP Databases 2 October 29th, 2004 10:38 PM
Query DateTime Field mtalam Access 5 June 3rd, 2004 06:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.