Hi
I need to have a row in my table (sql server 2008 express) and it needs to be possible to make calls to sql server like "all the products with datetime older than xxxx-xx-xx-xx.xx.xx.xxxx". How should I save the data in my table so i can use it for sorting when retreiving data? As a sql timestamp or a string? I have heard some negative talk about the sql timestamp and have not heard of nayone using it. At work we save timestamps as a string but that i db2 we are using.
Any suggestions??
Loading

Amit ChoudharyRank #145 · 15.8K reputationPosted Feb 11, 2010, 1:21 AM EST
Simply using DateTime data type in sqlserver can solve your problem.
Please mark the anser if it helps.
Lalit MRank #1,186 · 1.5K reputationPosted Feb 11, 2010, 1:33 AM EST
more info
http://www.sqlmag.com/article/articleid/43488/43488.html
Christian21 reputationPosted Feb 16, 2010, 7:28 AM EST