Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Default Date being set to 1/1/1900

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-04-03 : 09:58:18
Michael writes "I'm using SQL Server 7.0 and have a field in a table with the following attribs:

Datatype = smalldatetime
alows nulls = yes

Now everytime I insert into the db table it defaults the date 1/1/1900 ....even if I asign the default to getdate(). However if I insert with a date valid then the enter date will be inserted."

yakoo
Constraint Violating Yak Guru

312 Posts

Posted - 2002-04-03 : 10:00:17
Can you give us the insert string that you are using?

Go to Top of Page
   

- Advertisement -