March 27, 2009 at 12:11 am
In a table, datetime is stored in a column with type bigint. Values stored in this column are of 13 digits.
How these values can be converted to simple datetime format.
Convert function is throwing 'Arithmetic overflow error'.
March 27, 2009 at 1:30 am
http://msdn.microsoft.com/en-us/library/aa226054(SQL.80).aspx
This is the location where you can find everything about converting, also with examples!
Whistling:
March 27, 2009 at 2:19 am
bhuwnesh.kumar (3/27/2009)
In a table, datetime is stored in a column with type bigint. Values stored in this column are of 13 digits.How these values can be converted to simple datetime format.
Convert function is throwing 'Arithmetic overflow error'.
Can you provide a few samples please?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply