Download IBM Informix DataBlade Developers Kit User's Guide
Transcript
Property Default Value Description Descriptive name SQLfile A descriptive name for the custom SQL statements. Read SQL text from file None Use to import SQL statements into the CREATE and DROP fields or to import by reference. See “Importing SQL Text from a File” on page 4-39 for more information. Custom SQL CREATE text None A text field in which to type SQL CREATE statements. Custom SQL DROP text None A text field in which to type SQL DROP statements. Depends on objects None A list of objects on which the custom SQL depends. See “Object Dependencies” on page 4-39 for more information. Which objects require SQL None A list of objects that depend on the custom SQL. See “Object Dependencies” on page 4-39 for more information. The following sections describe properties of custom SQL files. Importing SQL Text from a File If you import SQL statements from a text file, separate the CREATE and DROP statements with a line of 40 hyphens (-). To import a file by reference, click Browse and select a file from the Open dialog box. If you import by reference, BladeSmith stores the full path and filename. Object Dependencies You can specify whether an SQL command depends upon a DataBlade module object or upon your SQL. These dependencies determine the sequence of SQL commands in the generated objects.sql script. BladeSmith generates SQL in the following sequence: 1. SQL commands to create objects upon which custom SQL commands depend 2. Custom SQL commands 3. SQL commands to create objects that depend upon custom SQL commands The generated SQL scripts register dependencies when the DataBlade module is registered in a database. Adding Client Files Client files you include in your BladeSmith project are downloaded to client workstations after a DataBlade module is installed on a database server. Client files include: v Graphical user interfaces v Documentation and help files Chapter 4. Creating DataBlade Objects Using BladeSmith 4-39