handlebars
Technical User
I have the following line in sql:
CAST(CONVERT(int, dbo.ResolvedInTargetCount.[Resolved In Target]) / CONVERT(int, dbo.CallsResolvedCount.[Calls Resolved Count]) AS decimal(3, 3)) AS [% Resoved in Target]
but when i go to run it, i get the error message:
"arithmetic overflow error converting numeric to data type numeric"
The reason i am trying to convert it is because before I was only getting number rounded up to 1 or down to 0!
Any help would be apprecaited.
Andrew
CAST(CONVERT(int, dbo.ResolvedInTargetCount.[Resolved In Target]) / CONVERT(int, dbo.CallsResolvedCount.[Calls Resolved Count]) AS decimal(3, 3)) AS [% Resoved in Target]
but when i go to run it, i get the error message:
"arithmetic overflow error converting numeric to data type numeric"
The reason i am trying to convert it is because before I was only getting number rounded up to 1 or down to 0!
Any help would be apprecaited.
Andrew