Top "Smalldatetime" questions

check for null date in CASE statement, where have I gone wrong?

My source table looks like this Id StartDate 1 (null) 2 12/12/2009 3 10/10/2009 I want to create a select statement, that selects the above, …

sql sql-server-2005 case smalldatetime
How to select data from 30 days?

I have query: SELECT name FROM ( SELECT name FROM Hist_answer WHERE id_city='34324' AND datetime >= DATE_…

sql sql-server-2008 keyword smalldatetime
How do I format dd-mmm-yy values in flat file to smalldatetime during data import?

I have a flat file which is imported into SQL Server via an existing SSIS package. I need to make …

sql-server date ssis smalldatetime
Convert varchar column to smalldatetime

I have a table with 800+ records. In this table I have a column named 'Data' of varchar(10) datatype which contains …

sql-server sql-server-2005 varchar smalldatetime
SQL Server smalldatetime vs datetime2

I've read several articles about using data types that support dates in SQL Server but I'm still undecided about what …

sql-server datetime2 smalldatetime
SQL Server 2005: converting smalldatetime to varchar behaves differently in view and 'normal' query

I have a view that basically just returns all records from a table, and adds a column 'isodate' which is …

sql sql-server smalldatetime