Unit 4 Flashcards
If you delete a stored procedure, function, or trigger and then create it again
you delete the security permissions assigned to the object
Unlike most database objects, when you invoke a user-defined function, you must always preface the name of the function with the
schema name
You can invoke a table-valued user-defined function
anywhere you’d refer to a table or a view
A user-defined function
can return a single scalar value or a single table value
Table-valued functions are one of the most useful extensions provided by Transact-SQL because they behave like views but can accept parameters that can change the result set.
True
If you want to prevent users from examining the SQL code that defines a procedure, function, or trigger, you code the CREATE statement with the ________________ option
ENCRYPTION
Before you can pass a table to a stored procedure or a function as a parameter, which statement do you use to create a user-defined table type?
CREATE