SQL statement reading error message

zhaozj2021-02-16  57

Declare @a varchar (8000) SELECT @ a = description from master..sysments where error = @@ ErrorSelect @a

This statement can read the error message before executing the statement.

转载请注明原文地址:https://www.9cbs.com/read-18856.html

New Post(0)