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
ChristianPosted Feb 16, 2010, 12:28 PM
Lalit MPosted Feb 11, 2010, 6:33 AM
more info
http://www.sqlmag.com/article/articleid/43488/43488.html
Amit ChoudharyPosted Feb 11, 2010, 6:21 AM
Simply using DateTime data type in sqlserver can solve your problem.
Please mark the anser if it helps.