Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining a higher precision in timestamp
Message
 
 
To
21/03/2014 12:21:58
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01597037
Message ID:
01597060
Views:
41
This message has been marked as a message which has helped to the initial question of the thread.
>>DateTime.Now doesn't seem to be precise enough :(
>>
>>http://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx
>
>Yes, that is correct. I need to have it from Date.Now or whatever VB.NET would offer. I guess we would have to wait for a new version.
>
>>See also
>>
>>http://stackoverflow.com/questions/7119021/sql-server-2008-stored-procedure-with-datetime2
>
>Yes, by the use of stored procedure, this can be a workaround. However, I have zero stored procedure and I need to continue to control everything from the framework. But, it is an interesting reference. We see all kinds of related needs.
>
>>Looks like we need to search for more precise .NET DateTime class.
>
>There might be some available on the net which would probably use some low level code to get into that with more precision and be able to negotiate with those field type. Hopefully, we will have native support soon builtin the product.

I asked your question in the first thread that came by the Google Search

http://social.msdn.microsoft.com/Forums/vstudio/en-US/c30b3850-a72a-47d4-a197-21efe4afa0c0/mismatch-between-net-datetime-and-sql-server-datetime2-and-datetime?forum=csharpgeneral
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform