JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
SQL Server interview questions part 30
SQL Server interview questions part 30
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. _____________ procedure cannot be created in Resource database.
A. System
B. User defined
C. Extended
D. All of the mentioned
Show Correct Answer
Correct Answer is :
User defined
2. Nesting level of stored procedure is applicable for :
A. Triggers
B. Views
C. Functions
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
3. Nesting level of a stored procedures execution is stored in the _________ function.
A. @@NEST
B. @@NESTLEVEL
C. @@LEVEL
D. None of the mentioned
Show Correct Answer
Correct Answer is :
@@NESTLEVEL
4. Reasons for consideration of stored procedure can be :
A. With which tables will you have to work? Does it make sense to create a VIEW first?
B. How often will this procedure actually be used?
C. Do you want to view data in the database (SELECT), insert new records (INSERT INTO), or do I want to change an existing record (UPDATE)?
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
5. Reasons for consideration of stored procedure can be :
A. With which tables will you have to work? Does it make sense to create a VIEW first?
B. How often will this procedure actually be used?
C. Do you want to view data in the database (SELECT), insert new records (INSERT INTO), or do I want to change an existing record (UPDATE)?
D. All of the mentioned
Show Correct Answer
Correct Answer is :
All of the mentioned
6. Point out the correct statement :
A. Conditional logic applied to the results of the first SQL statements determines which subsequent SQL statements are executed
B. A stored procedure is a group of Transact-SQL statements pre compiled into a single execution plan
C. Stored procedures cannot improve performance
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Conditional logic applied to the results of the first SQL statements determines which subsequent SQL statements are executed
7. Point out the correct statement :
A. Conditional logic applied to the results of the first SQL statements determines which subsequent SQL statements are executed
B. A stored procedure is a group of Transact-SQL statements pre compiled into a single execution plan
C. Stored procedures cannot improve performance
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Conditional logic applied to the results of the first SQL statements determines which subsequent SQL statements are executed
8. __________ takes no parameters and returns all kinds of interesting information.
A. sp_monitor
B. sp_on
C. sp_status
D. None of the mentioned
Show Correct Answer
Correct Answer is :
sp_monitor
9. __________ takes no parameters and returns all kinds of interesting information.
A. sp_monitor
B. sp_on
C. sp_status
D. None of the mentioned
Show Correct Answer
Correct Answer is :
sp_monitor
10. Which of the following has support for transaction ?
A. sp_monitor
B. sp_bindsession
C. sp_status
D. All of the mentioned
Show Correct Answer
Correct Answer is :
sp_bindsession
11. Which of the following has support for transaction ?
A. sp_monitor
B. sp_bindsession
C. sp_status
D. All of the mentioned
Show Correct Answer
Correct Answer is :
sp_bindsession
12. Point out the wrong statement :
A. Support for transactions is one of the most important reasons to use database engines such as SQL Server
B. BASE support
C. ACID support
D. All of the mentioned
Show Correct Answer
Correct Answer is :
BASE support
13. Point out the wrong statement :
A. Support for transactions is one of the most important reasons to use database engines such as SQL Server
B. BASE support
C. ACID support
D. All of the mentioned
Show Correct Answer
Correct Answer is :
BASE support
14. __________create the removable database.
A. sp_certify_removable
B. sp_certify
C. sp_removable
D. All of the mentioned
Show Correct Answer
Correct Answer is :
sp_certify_removable
15. __________create the removable database.
A. sp_certify_removable
B. sp_certify
C. sp_removable
D. All of the mentioned
Show Correct Answer
Correct Answer is :
sp_certify_removable
16. Which of the following stored procedure is used for error messages ?
A. sp_addmessage
B. sp_dropmessage
C. sp_altermessage
D. All of the mentioned
Show Correct Answer
Correct Answer is :
sp_addmessage
17. Which of the following stored procedure is used for error messages ?
A. sp_addmessage
B. sp_dropmessage
C. sp_altermessage
D. All of the mentioned
Show Correct Answer
Correct Answer is :
sp_addmessage
18. _____________ sets procedure options in SQL Server.
A. sp_procoption
B. sp_dropmessage
C. sp_altermessage
D. sp_executesql
Show Correct Answer
Correct Answer is :
sp_procoption
19. _____________ sets procedure options in SQL Server.
A. sp_procoption
B. sp_dropmessage
C. sp_altermessage
D. sp_executesql
Show Correct Answer
Correct Answer is :
sp_procoption
20. __________ is used to build the code dynamically and execute it.
A. sp_addmessage
B. sp_dropmessage
C. sp_altermessage
D. sp_executesql
Show Correct Answer
Correct Answer is :
sp_executesql
Similar Interview Questions
Search for latest jobs
Find Jobs