Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

saw the sign of Database Error : SQLSTATE 23000 : Integrity Constraint Violation. Is it a potential malware?

Asked by Alison Kelly Jan 3, 2022 1.5K views 1 answer
Share

About this question

Is this database vulnerable to some sort of error based SQL injection?

After reading various research papers, I got to know that the SQLSTATE values are based on the SQLSTATE specifications contained in the standards: ISO/IEC 9075:1992, Database Language SQL and ANSI X3.135-1992 Database Language SQL. SQLSTATE values are returned to the application in the last five bytes of the SQLCA. Each five-character value is a return code that indicates the outcome of the most recently executed SQL statement.


SQLSTATE values are designed so that application programs can test for specific errors or classes of errors. The first character of an SQLSTATE value indicates whether the SQL statement was executed successfully or unsuccessfully (equal to or not equal to zero, respectively).

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.