Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

error infor in sql server

SELECT      
    ERROR_NUMBER() AS ErrorNumber      
    ,ERROR_SEVERITY() AS ErrorSeverity      
    ,ERROR_STATE() AS ErrorState      
    ,ERROR_PROCEDURE() AS ErrorProcedure      
    ,ERROR_LINE() AS ErrorLine      
    ,ERROR_MESSAGE() AS ErrorMessage; 
 
PREVIOUS NEXT
Tagged: #error #infor #sql #server
ADD COMMENT
Topic
Name
2+5 =