Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home
Jazz home  >  Papers & Training

IMAGE/SQL: Issues and answers concerning SQL tables

» 

Jazz home

»

Software

»

Papers & Training

»

Java

»

HP Partners

»

News & Events

»

Register for more info

Content starts here
Prev Page Next Page Manual Top Home Page


5.1 TurboIMAGE locking: mode 5 user



  • Question: What happens when a MODE 5 user issues an SQL statement to read from a TurboIMAGE data set?

    Answer: Locks on TurboIMAGE data are never acquired by a MODE 5 user.


Reading from a data set without a predicate selects all rows



NOTE that each of the above SELECT statements does not contain a WHERE clause, so all rows in each data set will be returned.

Key points


  • A MODE 5 user only has the capability to read TurboIMAGE data.

  • The WHERE clause of a SELECT statement contains a search condition that consists of at least one predicate. A predicate is a comparison of expressions that evaluates to a value of TRUE, FALSE, or unknown. If a predicate evaluates to TRUE for a row, the row qualifies; otherwise, the row is not operated on.

  • When a SELECT statement does not contain a WHERE clause, all rows qualify.

  • Locks on TurboIMAGE data are never acquired by a MODE 5 user, whether or not a predicate is used.

Reading from a data set with a predicate only selects a subset of rows



NOTE that the above SELECT statement contains a WHERE clause, so only a subset of rows will be returned.


Prev Page Next Page Manual Top Home Page

Page last updated on November 29, 1995

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2004 Hewlett-Packard Development Company, L.P.