Google News
logo
SQL Server - Quiz(MCQ)
Which of the following script is an example of Quick detection in the SQL injection attack?
A)
IF condition true-part ELSE false-part (S)
B)
For integer inputs : convert(int,@@version)
C)
SELECT loginame FROM master..sysprocesses WHERE spid = @@SPID
D)
SELECT header, txt FROM news UNION ALL SELECT name, pass FROM members

Correct Answer :   For integer inputs : convert(int,@@version)


Explanation : Quick detection attacks should throw conversion errors.

Advertisement