Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / October 2005



Tip: Looking for answers? Try searching our database.

Date quiry by month.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fluiter - 27 Oct 2005 20:13 GMT
On my access data base, i've got date in "01-Jan-05" format.
Now i do need to quiry that sort the data by month, i'.e  Jan-05  Feb-05 ect.
I hope that some one can help me with ssuth a quiry
jorgepino - 27 Oct 2005 21:34 GMT
SELECT     MONTH(updatedate) AS months
FROM         temployee
ORDER BY months DESC
mxstu - 28 Oct 2005 02:04 GMT
If you are dealing with a date/time column, can't you just order by that column?

SELECT  yourDateTimeColumn
FROM  yourTable
ORDER BY yourDateTimeColumn
fluiter - 28 Oct 2005 20:44 GMT
What for statement should i use for (updatedate) as i do get a  not defined
error.

What i would like see as output
Jan-05
Feb-05
Etc   it should strip de day date from de database date (01-)jan-05
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.