HP c-tree-SQL ISQL and Tool reference Guide - Manual

HP c-tree-SQL ISQL and Tool reference Guide

HP c-tree-SQL ISQL and Tool reference Guide – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
Page: / 99

Table of Contents:

  • Page 3 – FairCom Corporation i; Table of Contents; Documentation Overview
  • Page 4 – Data Load Utility: dbload
  • Page 5 – FairCom Corporation iii; Schema Export Utility: dbschema
  • Page 7 – FairCom Corporation; PURPOSE OF THIS MANUAL; AUDIENCE; The manual contains the following chapters:; SYNTAX DIAGRAM CONVENTIONS; Syntax diagrams appear in
  • Page 8 – RELATED DOCUMENTATION; Refer to the following documents for more information:
  • Page 9 – Chapter 1; Introduction; OVERVIEW; Learn how SQL statements work
  • Page 11 – Chapter 2; Quick Tour; INTRODUCTORY TUTORIAL; Start and Product Overview Guide; Init; At the command line prompt type:
  • Page 12 – Define; Add Records
  • Page 13 – Display Records; Done; Below is the interactive SQL for DONE:; Complete Introductory Tutorial Code
  • Page 14 – Relational Database
  • Page 15 – orderlist
  • Page 16 – Manage; INSERT INTO - This will add a record by inserting it into the table
  • Page 17 – The report will appear as follows:
  • Page 19 – LOCKING TUTORIAL
  • Page 20 – Below is the interactive SQL for DEFINE:; SELECT - Fetch records according to select criteria
  • Page 21 – Below is the interactive SQL for MANAGE:; Delete Records; Update Record
  • Page 22 – Complete Locking Tutorial Source Code; Complete source code for the locking tutorial can be found in
  • Page 23 – TRANSACTION PROCESSING TUTORIAL; Transaction processing in iSQL is handled by two statements:
  • Page 24 – Transaction
  • Page 27 – Chapter; ISQL Statements; erence Guide; STARTING INTERACTIVE SQL; To exit from interactive SQL, type EXIT or QUIT.; Syntax
  • Page 28 – A string that specifies which database to connect to. The; STATEMENT HISTORY SUPPORT; csh
  • Page 29 – FORMATTING OUTPUT OF ISQL QUERIES; Table 3-1: ISQL Statements for Statement History Support
  • Page 30 – Table 3-2: ISQL Statements for Query Formatting
  • Page 31 – customers
  • Page 32 – Formatting Column Display with the COLUMN Statement; Example 3-2: Controlling Display Width of Character Columns
  • Page 33 – Example 3-3: Customizing Format of Numeric Column Displays
  • Page 34 – whenever the value in the; column) and the other calculates the total cost of orders
  • Page 35 – umn carries over to the; Adding Beginning and Concluding Titles with the TITLE Statement
  • Page 36 – Example 3-6: Specifying a Query Header and Footer with TITLE
  • Page 37 – THE HELP AND TABLE STATEMENTS; HELP - Displays the options that can be specified for HELP.; TRANSACTION SUPPORT
  • Page 38 – ISQL REFERENCE; c-treeSQL Reference Manual; filename; The name of the script file.; Notes; The following example shows a simple ISQL script file.
  • Page 39 – cmdfile; BREAK; ROW
  • Page 40 – Examples; PAGE; REPORT
  • Page 41 – CLEAR
  • Page 42 – Description; option; COLUMN
  • Page 43 – but omits both the FORMAT and HEADING clauses, ISQL clears any
  • Page 45 – The following examples are based on a table,; Table 3-4: Date-Time Format Strings for the COLUMN Statement
  • Page 46 – The following examples use the single-value system table,
  • Page 47 – COMPUTE
  • Page 48 – Arguments
  • Page 49 – Specifies the name by which the variable can be referred to.; value; The following example defines a variable called
  • Page 50 – If the DISPLAY statement omits
  • Page 51 – display values for those columns:; EDIT
  • Page 52 – EXIT or QUIT; The EXIT statement terminates the ISQL session.; Related Statements
  • Page 53 – Execute the statement read by GET using the RUN statement.
  • Page 57 – The operating system command to execute. If; Example
  • Page 58 – LIST; If LIST omits; from customers) and copy it to the end of the history list. It then
  • Page 59 – The QUIT statement terminates the current ISQL session.
  • Page 61 – Sets the number of lines per page. The default is 24 lines. After each; LINESIZE; Sets the number of lines to be displayed. The default is 1.
  • Page 62 – Manual
  • Page 63 – SHOW; , it displays all the
  • Page 64 – SPOOL; filename ON; Closes the file opened by the SPOOL ON statement.; OUT; lpr
  • Page 65 – To record the displayed output into the file called STK, enter:
  • Page 66 – TABLE; With the; ADMIN
  • Page 67 – The following example uses the
  • Page 68 – TITLE; The text to be displayed.; SKIP n
  • Page 71 – Data Load Utility: dbload; INTRODUCTION
  • Page 72 – PREREQUISITES FOR DBLOAD; DBLOAD COMMAND LINE SYNTAX
  • Page 73 – stderr; database; DATA FILE FORMATS
  • Page 74 – Variable Length Records; Fixed Length Records; THE COMMANDS FILE
  • Page 75 – The DEFINE RECORD Statement; Names the record to be loaded; is the name used to refer to the records found in the data file.
  • Page 76 – The FOR EACH Statement
  • Page 77 – name; EXAMPLES; customer
  • Page 78 – DBLOAD ERRORS; Record name redefined.
  • Page 79 – Fatal Errors; The following are a list of nonrecoverable errors.
  • Page 81 – Data Unload Utility: dbdump; PREREQUISITES FOR DBDUMP; dbdump
  • Page 82 – DBDUMP COMMAND LINE SYNTAX; orders
  • Page 83 – The syntax definition for the commands file is as shown:; Names the record of the output file
  • Page 84 – date; The FOR RECORD Statement
  • Page 87 – Schema Export Utility: dbschema; This chapter describes the c-treeSQL utility,; dbschema; Options; Displays brief online help of
  • Page 89 – foo
  • Page 91 – Appendix A; Tutorial Source Code; RELATIONAL MODEL AND INDEXING TUTORIAL
  • Page 97 – Index; Symbols
Loading the manual

ISQL and Tools Reference Guide

For use with c-treeSQL Server

This manual provides reference material for the ISQL interactive SQL utility
and other administrative tools provided in the c-treeSQL environment. It also
includes a tutorial describing how to use the ISQL utility.

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 3 - FairCom Corporation i; Table of Contents; Documentation Overview

FairCom Corporation i Table of Contents Documentation Overview Purpose of This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vAudience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 4 - Data Load Utility: dbload

ii FairCom Corporation 3.5 The HELP and TABLE Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-113.6 Transaction Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-113.7 ISQL Reference . . . . ...

Page 5 - FairCom Corporation iii; Schema Export Utility: dbschema

FairCom Corporation iii 5.4 Data File Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25.5 The Commands File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 5.5.1 The...

Other HP Models

All HP Other