Reputation: 1844
I have a timestamp column (updated) in my Microsoft Sql Server Database and wish to retrieve the value as a DateTime object using SqlConnection and SqlCommand.
What is the easiest way to do this?
Upvotes: 0
Views: 492
Reputation: 4105
A timestamp field in a SQL Server database is not related to the date and time, but is merely a sequence number.
A timestamp in MySql is on the other hand a datetime-value.
Upvotes: 5