Programming Databases




CS157a

Chris Pollett

Nov 27, 2023

Outline

Introduction

Stored Procedures

Example Stored Procedure

Example Procedure with Arguments

Quiz

Which of the following is true?

  1. JDBC Statement's can never be created so that when executed the ResultSet is able to iterate backward through result rows.
  2. We defined a scalable web-site to be one that can accommodate web-site increased usage.
  3. A distributed hash-table might be used by a content delivery network.

Procedure with Multiple statements and Variables

Remarks on Example

Cursors

Calling Procedures from JDBC

CREATE FUNCTION