Skip to Main Content
IBM Db2 11.1 Certification Guide
book

IBM Db2 11.1 Certification Guide

by Robert (Kent) Collins, Mohankumar Saraswatipura
June 2018
Intermediate to advanced content levelIntermediate to advanced
478 pages
10h 52m
English
Packt Publishing
Content preview from IBM Db2 11.1 Certification Guide

The SET INTEGRITY statement

The SET INTEGRITY statement can be used to temporarily suspend constraint checking on a table. This statement can also be used to perform the following operations:

  • Place one or more tables into the set integrity pending state
  • Place one or more tables into the full access state
  • Prune the contents of one of more staging tables
  • Bring one or more tables out of a set integrity pending state by performing data validation via the constraint check
  • Bring one or more tables out of a set integrity pending state without performing data validation

The basic syntax for the SET INTEGRITY statement is:

SET INTEGRITY FOR [TableName] [OFF | FULL ACCESS | PRUNE] | [IMMEDIATE CHECKED | IMMEDIATE UNCHECKED] <AccessMode>

In the preceding ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Red Hat RHCSA 8 Cert Guide: EX200, 2nd Edition

Red Hat RHCSA 8 Cert Guide: EX200, 2nd Edition

Sander van Vugt

Publisher Resources

ISBN: 9781788626910Other