Thanks for the reply.
After reading the line
Quote:
|
quote:Since creating this field i now can successfully input date formats into smalldatetime which before now eluded me
|
i can see why you would be confused .. apologies, too many hours by the screen.
So that i can successfully query the sqldate field using the following code
Code:
SELECT * FROM atable where sqldate > DateDiff(Day, 14, GetDate())
i need to change using query analyzer the sqldate field from nvarchar to smalldatetime.
As there are already records in the format of dd/mm/yy if i try to change the format in sql design i get the error.
Code:
Arithmetic overflow error converting expression to data type smalldatetime
I am hoping there is a script which will allow me to convert the field with the entries in place.
I hope this makes more sense.
Cheers
aspless