CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 smalldatetime data type - out of range smalldatetime value

Print topic Send  topic

Author Message
Dennis Baggott
Posted: 05/12/2003, 11:32 AM

Using Active Server Pages with a Microsoft SQL Server backend. I am getting
the following error. I have searched all over but can't find how to stop
this error.

"The conversion of char data type to smalldatetime data type resulted in an
out-of-range smalldatetime value. (Microsoft OLE DB Provider for ODBC
Drivers)".

It was first brought to my attention by someone in the UK where the dates
are displayed at dd/mm/yyyy hh:ss instead of mm/dd/yyyy hh:ss - this might
be part of the problem, but I have played around with my own date and
regional settings so much I am not sure what the problem is anymore.

Any hints would be much appreciated...

andyw
Posted: 05/13/2003, 3:17 AM

It is best to have one international settings and not to have date format
set up in SQL or CCS to much so delete all the formats and start again. It
worked for me.

AndyW

"Dennis Baggott" <dennis@dbandsons.com> wrote in message
news:b9opc0$lki$1@news.codecharge.com...
> Using Active Server Pages with a Microsoft SQL Server backend. I am
getting
> the following error. I have searched all over but can't find how to stop
> this error.
>
> "The conversion of char data type to smalldatetime data type resulted in
an
> out-of-range smalldatetime value. (Microsoft OLE DB Provider for ODBC
> Drivers)".
>
> It was first brought to my attention by someone in the UK where the dates
> are displayed at dd/mm/yyyy hh:ss instead of mm/dd/yyyy hh:ss - this might
> be part of the problem, but I have played around with my own date and
> regional settings so much I am not sure what the problem is anymore.
>
> Any hints would be much appreciated...
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.