Machine-translated by Google. Questions are authored in English.
Top

Discussion

SQL Server 2000 stored procedures can:

  • A.never be kept within the database.
  • B.be kept within the database and invoked by application programs.
  • C.be stored on the users' computer.
  • D.support BEFORE, INSTEAD OF and AFTER types.

Answer: B

Correct answer: be kept within the database and invoked by application programs.

A stored procedure is compiled and held in the database itself and called by name from an application, which is what gives it its advantages: the code lives in one place, the execution plan is reused, only the call and the parameters cross the network, and permissions can be granted on the procedure rather than on the tables.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.