Hour 15

Quiz Answers

1: True or false: You can execute any valid SQL statement in a stored procedure.
A1: True. A stored procedure can contain any valid set of SQL statements for your data source.
2: What is the purpose of parameters in the context of a stored procedure?
A2: Parameters enable you to pass data into and out of a stored procedure, in addition to the ability to return the results of a database query in a resultset.

Get Sams Teach Yourself ADO.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.