Please repost your question in Microsoft's dedicated SQL Server forums here:
http://social.technet.microsoft.com/Forums/en-us/category/sqlserver .
Thanks.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Folks,
Iam facing a problem in sql server 2000. I unable to convert numeric value to date format using CONVERT and CAST keyword in sql server 2000. I tried with below mentioned example.
declare @a NUMERIC(10)
set @a=20110101
select CAST(@a as datetime) as result
But i am getting an error as "Arithmetic overflow error converting expression to data type datetime"
So, can anyone please help me out..?
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Please repost your question in Microsoft's dedicated SQL Server forums here:
http://social.technet.microsoft.com/Forums/en-us/category/sqlserver .
Thanks.