A Guide to SQL
A Guide to SQL
9th Edition
ISBN: 9781111527273
Author: Philip J. Pratt
Publisher: Course Technology Ptr
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 8, Problem 7RQ

Explanation of Solution

Stored procedures:

  • A stored procedure is a collection of procedural and SQL statements.
  • It may have input parameter, ou...

Explanation of Solution

Purpose of stored procedure:

  • It reduces code duplication by implementing a code isolation and code sharing techniques. Hence, it minimizes the error and also minimizes the cost required for application development and maintenance.
  • Stored procedure reduces network traffic and also increases performance.

Example code for stored procedure:

Code to create a stored procedure:

CREATE PROCEDURE SW_Supply as select S...

Blurred answer
Students have asked these similar questions
What are the stored procedures? What is their purpose?
What role do stored procedures play in database security?
What is a stored procedure, and why is it particularly useful?
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage