HP c-tree-SQL ISQL and Tools manual Examples, Isql Clear Title

Models: c-tree-SQL ISQL and Tools

1 99
Download 99 pages 4.83 Kb
Page 69
Image 69

ISQL Statements

Examples

The following example shows the effect of specifying a top title without a bottom title, then both a top and bottom title.

ISQL> TITLE "fred"

ISQL> select * from syscalctable; fred

FLD

---

100

1 record selected

ISQL> TITLE BOTTOM "flintstone" ISQL> select * from syscalctable; fred

FLD

---

100

flintstone

1 record selected

The TITLE statement can specify separate positions for different text in the same title:

ISQL> CLEAR TITLE

ISQL> TITLE TOP LEFT "Align on the left!" CENTER "Centered text" RIGHT "Right aligned text!"

ISQL> select

* from syscalctable;

Right aligned text!

Align on

the

left!

Centered text

 

FLD

 

 

 

 

---

 

 

 

 

100

 

 

 

1 record

selected

 

 

FairCom Corporation

3-43

Page 69
Image 69
HP c-tree-SQL ISQL and Tools manual Examples, Isql Clear Title