DateTime
has the range: January 1, 1753, through December 31, 9999
DateTime2
has the range: 0001-01-01 through 9999-12-31
So if you are entering a date before 1753 you would get this error when the field in the table is of type DateTime
.
More Related Contents:
- to select all the employees who have joined most recently under king
- Unpivot with column name
- How can I delete using INNER JOIN with SQL Server?
- Convert varchar into datetime in SQL Server
- sql query to return differences between two tables
- SQL Joins Vs SQL Subqueries (Performance)?
- Check if a row exists, otherwise insert
- How to do pagination in SQL Server 2008
- formula for computed column based on different table’s column
- SQL comments on create table on SQL Server 2008
- Script to kill all connections to a database (More than RESTRICTED_USER ROLLBACK)
- How to write UPDATE SQL with Table alias in SQL Server 2008?
- SQL Server 2008- Get table constraints
- Restrict an SQL Server connection to a specific IP address
- How does this CASE expression reach the ELSE clause?
- SQL Server: Cannot insert an explicit value into a timestamp column
- Execute Dynamic Query with go in sql
- is of a type that is invalid for use as a key column in an index
- TransactSQL to run another TransactSQL script
- Conditional logic in PostDeployment.sql script using SQLCMD
- How can I get a list of element names from an XML value in SQL Server
- Why are logical reads for windowed aggregate functions so high?
- How can I group time by hour or by 10 minutes?
- Custom function with check constraint SQL Server 2008
- How to rename something in SQL Server that has square brackets in the name?
- Comma Separated values with SQL Query
- how to separate string into different columns?
- How to count in SQL all fields with null values in one record?
- Restrict varchar() column to specific values?
- Using CASE Statement inside IN Clause