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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datatype format conversion error?

Status
Not open for further replies.

Zac5

Programmer
Jan 30, 2003
75
US
The following works in my query analyzer without any problems:

select convert(datetime,'28-5-2006')

however gives an error on query analyzer installed on another machine.

I have checked regional settings for both PCs and they are the same English(United Kingdom). Any suggestions please?
 
Denis's advice is exactly what you need.

For a little more backgroun, I suggest you take a look at this thread: thread183-1240616.

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top