This quiz tests knowledge on SQL Server 2005, focusing on stored procedures, system catalogs, database security, and cursor usage.
Sercurity Stored Procedures
Catalog Stored Procedures
Distributed Query Stored Procedures
A and B
User-define Stored Procedures
Rate this question:
Database Mail and SQL mail stored Procedures
Cursor Stored Procedures.
Sercurity Stored Procedures
Database Mail and SQL mail stored Procedures.
Distributed Query Stored Procedures
Rate this question:
Sp_column
sp_addalias
Sp_describe_cursor
Sp_database and sp_statistics
A and C
Rate this question:
Sp_cursor_list
Sp_changedbowner
Sp_addalias
Sp_describe_column
A and D
Rate this question:
sp_describe_column
Sp_indexs
Sp_primarykeys
Sp_cursor_list
A and D
Rate this question:
Used to pefrom email operations from with in the SQL server.
Use in the management of distributed queries.
Use to implement the fuctionality of a Cursor.
Use to manage the security of the DB.
Send mail to the SQL server.
Rate this question:
Reduced client/server traffic
Can be created to carry out repetitive
Reuse of code.
A and B
B and D
Rate this question:
Distributed Query Stored Procedures
Extended Stored Procedures
Temporary Stored Procedures
Database Mail and SQL mail stored Procedures.
Cursor Stored Procedures
Rate this question:
Remote Stored Procedures
Temporary Stored Procedures
Extended Stored Procedures.
B and C
Customer Stored Procedures
Rate this question:
Local Temporary Procedures
Global Temporary Procedures
Remote Stored Procedures
Temporary Stored Procedures
Customer Stored Procedures
Rate this question:
Extended Stored Procedures.
T-SQL Stored Procedures
Local stored Procedures
B and C
Not of about
Rate this question:
Extended Stored Procedures
Temporary Stored Procedures
Local stored Procedures
Global Temporary Procedures
B and C
Rate this question:
Are dropped at the end of the last session.
Are dropped at the end of the current session
Can only be used by its owner
Can be used any user
Are visible for all users
Rate this question:
Local Temporary Procedures
Global Temporary Procedures
Local stored Procedures
Customer Stored Procedures
A and C
Rate this question:
Extended Stored Procedures
Customer Stored Procedures
T-SQL Stored Procedures
System Stored Procedures
A and D
Rate this question:
Check file sample.txt exists.
Check file sample.txt exists or not
Execute a file is named sample.txt
A and C
Not all about
Rate this question:
Return information from each row on which the INSERT, UPDATE, and DELETE have been executed.
Create stored procedures for performance of various tasks, they are referred to as user-defined or custom stored procedures
Useful to retrieve the value of an identity or computed column after an INSERT or UPDATE operation
Print out a Variable.
E and C
Rate this question:
True
False
Rate this question:
False
True
Rate this question:
Object_definition()
Sp_helptext
Sp_depends
Sys.sql_modules
Sp_display
Rate this question:
System stored procedure use to display the dependencies of a stored procedure
System function used to display the definition of a stored procedure.
System view used to display definition of a stored procedure.
System function used to display the definition of a stored procedure by specifying the object ID of the procedure.
A and D
Rate this question:
True
False
Rate this question:
A replaced procedure is dipslay.
An error message is display.
No procedure display
B and C
None about
Rate this question:
Denied immediately
Executed sucessfully
Had some error messages
No Action
None about
Rate this question:
Sys.sql_modules
Sp_depends
Sp_helptext
Sp_check
A and B
Rate this question:
False
True
Rate this question:
A values zero ....................a non - one
A non-zero .................a zero
A non-zero ........... a greater than zero
A values zero...................a non-zero
A and D
Rate this question:
True
False
Rate this question:
When the RETURN statement is used in a stored procedure, It can return a null value. if a procedure tries to return a null value, a warning message is generated and the value zero is returned.
When the RETURN statement is used in a stored procedure, It can not return a null value. if a procedure tries to return a null value, a warning message is generated and the value zero is returned.
When the RETURN statement is used in a stored procedure, It can not return a null value. if a procedure tries to return a null value, a warning message is generated and the value one is returned.
None above
A and C
Rate this question:
Input parameters
Output parameters
A and B
Name of stored procedure
Rate this question:
MESSAGE_ERROR()
RETURN_ERROR()
ERROR_MESSAGE()
@@ERROR
@@ERROR_LINE
Rate this question:
VALUE_RETURN()
RETURN()
RETURN
RETURN_INT()
Rate this question:
@@ERROR_LINE : Returns the line number that caused the error
@@ERROR : Returns the error number for the error in the last T_SQL statment.
@NESTLEVEL : Specifies the level of nesting of the current procedure.
The RETURN funtion specifies the return value for a stored procedure
The return code indicates the execution status of the stored procedure.
Rate this question:
True
False
Rate this question:
When stored procedure is executed from other stored procedure, the procedures are said to be nested.
When an error occurs in the TRY block, the statements following the statement that caused the error are executed only after CATCH block is executed.
When the @@ERROR funtion is called, an error message is returned for the error occuring in the last executed statement.
A and C
Rate this question:
Trigger can not be executed directly nor do they pass or receive parameters.
A Trigger is executed when the table is created.
Trigger is a stored procedure that executed when data in a specified table is modified.
Trigger is the same as Check constraint.
Trigger are often created to enforce referential integrity among logically related data in different table.
Rate this question:
a session is established with a LOGON event.
Data is inserted,modified or delete in a table or a View using the INSERT,UPDATE or DELETE statements
a table or a view is created, modified, or delete using the CREATE,ALTER, or DROP statements.
Rate this question:
Are used to check and control database operations.
Are used to enforce business rules when data is modified in tables or views.
Are defined at the database level.
Execute either while modifying the data or after the data is modified.
Operate only after the table or view is modified.and are defined either at the database or the server level
Rate this question:
An AFTER trigger is executed on completion of DROP, ATLTER and CREATE.
AFTER triggers can be created on tables and columns
A table can have multiple AFTER trigger defined for each INSERT, UPDATE, and DELETE operation.
An AFTER trigger is executed before the constraint check in the table is completed
The Trigger is executed after the inserted and Deleted tables are created.
Rate this question:
Is executed in place of the INSERT, UPDATE or DELETE operation.
Can not be created on views, It is only on tables
A tables or a view can have any INSTEAD OF trigger defined for INSERT, UPDATE, and DELETE.
Are executed before constraint checks are performed on the table.and They executed after creating Inserted and Deleted tables,
Rate this question:
Update triggers do not use the Deleted table to update records in a table
Delete trigger do not use the Inserted table to delete records from atable
Rate this question:
Each triggering action can have multiple AFTER triggers
Two triggers action on a table can have the same first and last triggers
Trigger definition can be viewed if the information is not encrypted
DML trigger definition can be modified by dropping and creating the trigger.
Rate this question:
UPDATE trigger
DROP Trigger
INSERT Trigger
DELETE Trigger
CREATE and ALTER Trigger
Rate this question:
DDL trigger for DROP operation can be created as an INSTEAD OF trigger.
A DDL trigger for ALTER event can be invoked only after the modification operations are completed
A DDL trigger definition can be display using as_helptext.
a DD L trigger can be removed from the current database using the DROP TRIGGER
Rate this question:
True
False
Rate this question:
Nonclustered
Clustered
Unique
Rate this question:
True
False
Rate this question:
Full-Text Index.
Unique Index
XML Index
Rate this question:
Quiz Review Timeline (Updated): Jan 12, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.