You are here: datetime « MsSQL Server « IT news, forums, messages
datetime

Posted by TGEAR on 12/08/05 20:06

each table has a auditime field which keeps the last data who modified.
I set this field as a datetime datatype and default value is getdate(),
so the value is recorded like this 10/12/2004 7:28:02 AM.
When I query to get that value, nothing showed up.
I made a query as below
select auditime from testtable where auditime = '10/12/2004 7:28:02 AM'
but nothing was fetched. what did i do wrong?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация