A domain error occurred.

Error Message:
Msg 3623, Level 16, State 1, Line 1
A domain error occurred.

Severity level:
16.

Description:
This error message appears, when you to perform an, at least for SQL Server, mathematical illegal operation.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Error of the Severity level 16 are generated by the user and can be fixed by the SQL Server user. In this case you have to rewrite the offending statement or perform some checks to avoid this error.

Versions:
Error 3623 was introduced with SQL Server 2005. In SQL Server 2000 error 3622 is raised.

Example(s):
SELECT SQRT(-1)
SELECT LOG(-1)

Remarks:
The above operations can naturally be performed with specialised mathetical systems, but typically you’re in the realm of compley numbers. SQL Server can out of the box not deal with these numbers.

]]>

Leave a comment

Your email address will not be published.