Quiz-summary
0 of 10 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Information
Are you able to resolve today’s SQL quiz?
This week’s test has a difficulty level of: EASY
Quiz subject: Inserting Data
Good luck!
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 10 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Answered
- Review
-
Question 1 of 10
1. Question
Which of the following are commands used in SQL Server to insert data?
Correct
Incorrect
-
Question 2 of 10
2. Question
Which of the following are ways for a column to get its value automatically in an INSERT statement?
Correct
Incorrect
-
Question 3 of 10
3. Question
What command should be executed before the INSERT statement if you want to insert an explicit value into an IDENTITY column?
Correct
Incorrect
-
Question 4 of 10
4. Question
What is the correct order of the checks performed by SQL Server when a value for a column is not provided in an INSERT statement?
-
Check whether the column gets its value automatically (from an IDENTITY column or a default constraint)
-
Check if the column allows NULL values
-
If none of the above, generate an error
Correct
Incorrect
-
-
Question 5 of 10
5. Question
Which of the following can be used to insert the values returned by a stored procedure?
Correct
Incorrect
-
Question 6 of 10
6. Question
INSERT EXEC works even when the source dynamic batch or stored procedure has more than one query, as long as all queries result sets are compatible with the target table definition.
Correct
Incorrect
-
Question 7 of 10
7. Question
SELECT INTO commands are minimally logged, no matter what recovery model is set on the database.
Correct
Incorrect
-
Question 8 of 10
8. Question
Which of the following statements creates the target table based on the definition of the source?
Correct
Incorrect
-
Question 9 of 10
9. Question
In which case out of the following are you normally not allowed to specify the target column in an INSERT statement?
Correct
Incorrect
-
Question 10 of 10
10. Question
Which of the following are not copied from the source table when a SELECT INTO command is executed?
Correct
Incorrect