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

Dates 1900-2078; only range accepted in smalldatetime 2

Status
Not open for further replies.

chequi

IS-IT--Management
Apr 24, 2000
24
0
0
PR
Hello:

I am trying to place dates prior to 1900 and beyond 2078
in a SQL 2000 table (smalldatetime field) and I am getting
an overflow error message.

I need help, please.

Thanks.

Chequi
 
If you don't change the field type to datetime, you're out of luck.
 
Use DATETIME not SMALLDATETIME. DATETIME accepts between 1753 and 9999.

Refer to BOL - DATETIME datatype

-SQLBill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top