
Page 3
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
How to Use This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Organization of This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Conventions Used in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Solaris and Windows 2000 Conventions . . . . . . . . . . . . . . . . . . . . . . . . 10
Trademark Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Introduction to RDB Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Using the RDB package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Supported RDBM Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
PeriSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Automatically Generating SQL Commands (PeriSQL) . . . . . . . . . . . . 16
Accessing PeriSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Setting the Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . 17
Accessing PeriSQL From the Command Line. . . . . . . . . . . . . . . . . 18
Accessing PeriSQL From PeriProducer. . . . . . . . . . . . . . . . . . . . . . 19
PeriSQL Display. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
PeriSQL User Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
PeriSQL Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
PeriSQL Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Column Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Using PeriSQL to Query an RDBMS. . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Creating and Customizing the SQL Command in PeriSQL. . . . . . . 25
Selecting Multiple Columns (Join) . . . . . . . . . . . . . . . . . . . . . . 26
Performing a Query With PeriSQL . . . . . . . . . . . . . . . . . . . . . . . . . 27
Debugging the SQL Command in PeriSQL. . . . . . . . . . . . . . . . . . . 28
Reported Issues. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Using Stored Procedures, Functions, and Triggers. . . . . . . . . . . . . . . . . 28
Displaying Predefined Procedures, Functions, and Triggers . . . . . . 29
Implementing Procedures and Functions . . . . . . . . . . . . . . . . . . . . . 31
Writing Procedures and Functions to an Application . . . . . . . . 31
Supplying Arguments to Functions and Procedures . . . . . . . . . 33
Sybase Stored Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Using PeriSQL With the SQL Block . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Writing the PeriSQL SELECT to an SQL Block. . . . . . . . . . . . . . . 36
SQLClnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Accelerating RDBMS Access With SQLClnt . . . . . . . . . . . . . . . . . . . . 38
Limitations For SQLClnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Configuring For SQLClnt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Using the SQL Request Accelerator . . . . . . . . . . . . . . . . . . . . . . . . 38
Using the SQLClnt Backup Server (-s option). . . . . . . . . . . . . . . . . 39
Comentarios a estos manuales