For data to have integrity means that the data is valid—that is, correct and accurate—and that the relational structure of the database is intact. The relational structure of the database is described through referential integrity constraints, business rules that maintain the consistency of data between tables.
Sybase IQ supports stored procedures and JDBC, which allow you detailed control over how data gets entered into the database. Procedures are discussed in Chapter 8, “Using Procedures and Batches”. For information on JDBC see Appendix B, “Data Access Using JDBC.”