SQL Error Codes and Fundamentals
Test your knowledge of SQL error codes, keys, and comparison clauses in database management
Questions
Question 1 Multiple Choice (Single Answer)
SQL470 error means?
- Stored Procedure Not Found
- General error
- Duplicate cursor name
- Option value changed
Question 2 Multiple Choice (Single Answer)
SQL300 error means?
- DDL not allowed on this table definition
- Column with this name already exists
- View's WITH CHECK OPTION validation failed in UPDATE
- One or more matching rows is locked by another user
Question 3 Multiple Choice (Single Answer)
SQL87 error means?
- Invalid field name
- Invalid table name
- Invalid index name
- Invalid view name
Question 4 Multiple Choice (Single Answer)
SQL64 error means?
- Cursor not updateable
- DISTINCT not valid in subquery of FROM clause
- Positive integer constant or variable expected
- Incompatible SELECT list is used in INSERT
Question 5 Multiple Choice (Single Answer)
SQL1401 error means?
- COMMAND NOT SPECIFIED
- ALREADY LOGGED IN
- SESSION DOES NOT EXIST
- None of these
Question 6 Multiple Choice (Single Answer)
SQL1224 error means?
- FAILED TO RETAIN COOPERATIVE TASK
- FAILED TO LOAD INFILE
- FAILED TO PUT SQL LOCK ON A TABLE
- FAILED TO LOCK RECORD FOR WRITING
Question 7 Multiple Choice (Single Answer)
SQL1117 error means?
- DISTINCT NOT ALLOWED
- GROUP BY index is not allowed
- HAVING is not an aggregate expression
- Column function is not allowed
Question 8 Multiple Choice (Single Answer)
SQL1145 error means?
- FOREIGN KEY DOES NOT EXIST
- FAILED TO CREATE FOREIGN KEY
- FOUND VIEW COLUMN
- INDEX ALREADY EXISTS
Question 9 Multiple Choice (Single Answer)
SQL3018 error means?
- UNEXPECTED HEADER VALUE
- INVALID AGENT SIGNATURE
- Both 1 and 2
- None of these
Question 10 Multiple Choice (Single Answer)
SQL3000 error means?
- UNKNOWN COMMAND
- ALREADY LOGGED IN
- NOT LOGGED IN
- HEADER NOT FOUND
Question 11 Multiple Choice (Single Answer)
SQL3001 error means?
- ALREADY LOGGED IN
- UNKNOWN COMMAND
- SOCKET READ ERROR
- INVALID AGENT SIGNATURE
Question 12 Multiple Choice (Single Answer)
SQL3017 error means?
- INVALID AGENT SIGNATURE
- STILL LOGGED IN
- INVALID STATEMENT ID
- HEADER NOT FOUND
Question 13 Multiple Choice (Single Answer)
SQL1816 error means?
- Failed to aggregate
- Failed to execute DISTINCT
- Failed to execute HAVING clause
- Failed to execute WHERE clause
Question 14 Multiple Choice (Single Answer)
SQL1724 error means?
- Failed to validate CASE expression
- Failed to execute UPDATE command
- Failed to calculate LIKE predicate pattern
- Failed to validate column list
Question 15 Multiple Choice (Single Answer)
SQL1513 error means?
- FAILED TO PARSE YEAR
- UNEXPECTED CHARACTER
- Failed to parse duration
- Failed to parse timestamp
Question 16 Multiple Choice (Single Answer)
SQL1432 error means?
- VARIABLE WAS NOT FOUND
- POINTER OF UNKNOWN TYPE
- RESULT IS NOT A SELECTION
- ARRAY NOT ALLOWED IN EXECUTE IMMEDIATE
Question 17 Multiple Choice (Single Answer)
SQL1203 error means?
- FUNCTIONALITY IS NOT IMPLEMENTED
- NO MORE JOIN SEEDS POSSIBLE
- Both 1 and 2
- None of these
Question 18 Multiple Choice (Single Answer)
SQL1004 error means?
- Access denied
- EXECUTION INTERRUPTED BY USER
- REMOTE SQL SERVER IS NOT AVAILABLE
- SQL SERVER IS NOT RUNNING
Question 19 Multiple Choice (Single Answer)
which is Not a Comparison clause ?
- LIKE
- IN
- BETWEEN
- ANY
Question 20 Multiple Choice (Multiple Answers)
Which key is related to SQL?
- Superkey
- Candidate key
- Primary key
- Composite key