You develop a database for a travel application. You need to design tables and other database
objects. You create a stored procedure. You need to supply the stored procedure with multiple
event names and their dates as parameters. What should you do?
A.
Use the CAST function.
B.
Use the DATE data type.
C.
Use the FORMAT function.
D.
Use an appropriate collation.
E.
Use a user-defined table type.
F.
Use the VARBINARY data type.
G.
Use the DATETIME data type.
H.
Use the DATETIME2 data type.
I.
Use the DATETIMEOFFSET data type.
J.
Use the TODATETIMEOFFSET function.
E.
Use a user-defined table type.
E
Use user defined table type as parameter to the stored proc.
User-defined tables represent tabular information. They are used as parameters when you pass tabular data into stored procedures or user-defined functions. User-defined tables cannot be used to represent columns in a database table.
E