R
Roy
I need to compare a datetime value against the value in a datetime column in
the WHERE clause as accurate as ticks (100 ns). When I construct a query by
string.Format("WHERE MyDatetimeColumn = '{0}'", myDatetime);
I will get
WHERE MyDatetimeColumn = '6/6/2008 3:21:01 PM'
However, this is only for second. How do I get ticks for the query?
Thanks.
the WHERE clause as accurate as ticks (100 ns). When I construct a query by
string.Format("WHERE MyDatetimeColumn = '{0}'", myDatetime);
I will get
WHERE MyDatetimeColumn = '6/6/2008 3:21:01 PM'
However, this is only for second. How do I get ticks for the query?
Thanks.