Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual page 9

Table of Contents

Advertisement

Errors and warnings in procedures .............................................. 255
Default error handling in procedures ..................................... 256
Default handling of warnings in procedures .......................... 260
Using exception handlers in procedures ............................... 261
Transactions and savepoints in procedures................................. 265
Some tips for writing procedures.................................................. 265
Specifying dates and times in procedures............................. 266
Verifying procedure input arguments .................................... 267
Statements allowed in batches .................................................... 267
Using SELECT statements in batches .................................. 268
Calling external libraries from procedures.................................... 268
External function declarations ............................................... 270
Ensuring Data Integrity .............................................................. 273
Data integrity overview ................................................................. 273
How data can become invalid ............................................... 273
Integrity constraints belong in the database.......................... 274
How database contents get changed .................................... 275
Data integrity tools................................................................. 275
Using table and column constraints ............................................. 277
Using IQ UNIQUE constraint on columns ............................. 278
Using CHECK conditions on columns ................................... 278
Using CHECK conditions on tables....................................... 280
Modifying and deleting CHECK conditions............................ 280
Declaring entity and referential integrity....................................... 281
Enforcing entity integrity ........................................................ 282
Primary keys enforce entity integrity ..................................... 283
Declaring referential integrity................................................. 283
How you define foreign keys ................................................. 284
Contents
ix

Advertisement

Table of Contents
loading

Table of Contents