Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DATE/TIME 1

Status
Not open for further replies.

jmob

Programmer
Jun 21, 2005
58
US
I'm having a tough time selecting rows where the date is > '1/1/2004' in that format.
I am using select * from table where column > '1/1/2004' ;

Any possibilities on why it is saying there is a data type mismatch? It is in DATE/TIME format , and in the short date format matching what I have for the column. I even tried chaning the column to text and doing a like %2004 comparison. the like doesn't return anything.

Any ideaS?. Thanks.

JMoB
 
Thank you so much! Enjoy the Independence Weekend!
 
r937,

[way-the-heck-off-topic]

"[purple]Octothorps[/purple]???"

I have never heard of "#" called anything but a Pound Sign. A Canadian thing, perhaps? Or do I just need to get out more?

I'm used to seeing terrific solutions in your posts, but I wasn't expecting a new word for something as simple as a pound sign. Thanks for the boost to my vocabulary!

Tim

[/back-to-topic...]

[blue]_____________________________________________________
If you need immediate assistance, please raise your hand.
If you are outside of Raleigh, raise your hand and say
[/blue] [red]Ooh! Ooh![/red]
 
Ahh the bloody English triumph once again. The pound sign over here in the U.S. is the '#' not the ### ;) We keep it simple with many words for many meanings.. back the the cave man days we go. ugghh ughh
 
earthandfire,

Your pound sign makes no cents. [bigsmile]


Tim


hmmm, [red]+[/red] = "quadrothorpe" ???

[blue]_____________________________________________________
If you need immediate assistance, please raise your hand.
If you are outside of Raleigh, raise your hand and say
[/blue] [red]Ooh! Ooh![/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top