I have a field in my database with the following data in it:
"12/1/2004 10:02:14 AM"
They are the time and date the sales transaction took place. I would like to SUM all of the sales that took place during the 10 AM hour, 11 AM hour, 12 pm hour, and so on. How do I select out only the hour characters and the am/pm characters?
2007-07-17
07:28:44
·
3 answers
·
asked by
parkerjr2
3
in
Computers & Internet
➔ Programming & Design
Using SQL code
2007-07-17
08:18:36 ·
update #1