An exception that is thrown when an unexpected error occurs during the execution of a SQL statement.
public class SqlExecutionErrorException : Exception
Public Class SqlExecutionErrorException Inherits Exception
For instance, this exception can occur when a database has been modified from the outside, so a SQL statement cannot be executed. See the InnerException property to find details on this error.