Home > database > SQL server profiler tracker record how to filter out the empty operation SQL statements
SQL server profiler tracker record how to filter out the empty operation SQL statements
Time:11-23
If the student table: deleted drop table student; This statement has been executed successfully, table student smoothly to delete, And then execute it again to delete table operation: drop table student; Statement is not an error, the execution is successful,, But the second is futile to delete to delete, how to filter out in SQL server profiler to track record second empty operation?
And whether it can filter out against a certain table insert or delete operation?
CodePudding user response:
Drop table student The two specified error, can succeed the first time to delete the student table, the second will prompt: can't on the table 'student' to delete, because it does not exist, or you do not have the required permissions,