PreviousProgrammer's Guide (v9 SP2 (9.5) revision 1)

Programmer's Guide - Index

A - B - C - D - E - F - G - H - I - J - K - L - M - N - O - P - Q - R - S - T - U - V - W - X


A

Accelerated file open mode

Accelerated mode

transaction durability, lack of

Access rights. See Security

Accessing records

by chunks

by key value

by physical location

ACS. See Alternate collating sequence

ActiveX interface

overview

redistributable files

registering files

ADD FOREIGN KEY clause

ADD keyword, with ALTER TABLE statement

ADD PRIMARY KEY clause

Adding

keys

Pervasive PSQL source modules

to a Delphi project

to a Visual Basic project

Administering database security

Aggregate functions. See Group aggregate functions

Alias names for tables

All right

about

ALT constant

Alter right

description

ALTER TABLE statement

defining referential constraints

dropping columns with

with ADD FOREIGN KEY clause

with ADD keyword

with ADD PRIMARY KEY clause

with DROP FOREIGN KEY clause

with DROP keyword

with DROP PRIMARY KEY clause

Alternate collating sequence

ACS pages

case sensitivity

international sort rules

sorting keys

user-defined ACSs

AND boolean operator

Anomalies

on delete-connected cycles

on multiple paths

on self-referencing tables

API programming

Btrieve

basic operations

creating a file, overview

Get operations, overview

inserting records, overview

overview

Step operations, overview

updating records, overview

using chunks,BLOBs,variable-length records, overview

working with segmented indexes, overview

overview

Archival logging

and file backups

Ascending sort order

in indexes

in keys

ATOMIC keyword, with compound statement

Atomicity

overview

transaction processing and

Attributes

file

index

key

AVG function

B

Backing up files

Balanced indexes. See Indexes, balancing

BALANCED_KEYS constant

Base files

BEGIN...END statement

BETWEEN operator

Bias values and locking

BIN constant

Binary large objects. See BLOBs

Blank truncation

about 1 2

creating files that use

BLANK_TRUNC constant

Blanks in file names

BLOBs

and Btrieve API, overview

and record length

sample structures

Visual Basic and Btrieve API

Boolean

expressions in triggers

operators, in restriction clauses

Bound databases

BTITYPES.H

BTRAPI.C

BTRAPI.H

BTRCALL function, and PALN32.DLL

BTRCALLID function

BTRCONST.H

Btrieve operation sequence

BTRVID function 1 2 3

Byte alignment, Visual Basic and Btrieve API

C

C/C++

creating a file, and Btrieve API

inserting records, and Btrieve API

performing

Get operations, and Btrieve API

Step operations, and Btrieve API

source modules

Btrieve API

updating records

and Btrieve API

working with segmented indexes, and Btrieve API

Cache

about

and LRU algorithm

CALL (procedure) statement

Cartesian product joins

Cascaded deletes

Case sensitivity

column names and

in keys

index column values and

stored view names and

table names and

Changing

primary keys

rows

Choosing a development tool

Chunks

accessing

and Btrieve API, overview

debugging operations

intrarecord currency and

sample structures

Visual Basic and Btrieve API

Clauses, restriction

Clearing owner names

ClientID parameter

Clients

handling multiple

COBOL

source modules

Btrieve API

Code samples

Creating a file, Btrieve API

Get operations, Btrieve API

inserting records

Btrieve API

Step operations, Btrieve API

updating

multiple records, Btrieve API

using

chunks,BLOBs,variable-length records, Btrieve API

working with segmented indexes, Btrieve API

COLLATE.CFG file

Collating sequence. See Alternate collating sequence

Collation samples using ISRs

Columns

computed

creating

data types for

default values, specifying

dropping

headings in views

naming

about

case-sensitivity and

qualified names of

removing

selecting

COMMIT WORK statement

Compiling and linking sample programs. See Tutorials and Sample Code Reference

Compound index

Compound statements

COMPRESS.Z file in InstallShield

CompressGet function in InstallShield

Compression buffer size

Compression. See Data compression

Computed columns

in joins

Concurrency

extended operations and

Concurrency control

about

data file locks

explicit locks

methods

passive control

transaction processing

Concurrent transactions

about

using

when to use

Condition operators

Condition, defined

Conditional execution of SQL statements

Configuration issues

Connector, defined

Correlated subqueries

COUNT function 1 2

CREATE

GROUP statement

INDEX statement

PROCEDURE statement

TABLE statement

with FOREIGN KEY clause

with PRIMARY KEY clause

TRIGGER statement

VIEW statement, with SELECT clause 1 2 3

Create Index operation, when to use

Create operation, example

Create Table right

about

CREATE TABLE statement

defining referential constraints

granting right to use

Creating

columns

data dictionaries

databases

files

C/C++ and Btrieve API

Delphi and Btrieve API

sample structures

Visual Basic and Btrieve API

foreign keys

indexes

primary keys

stored procedures

tables

user groups

users

views

Creating files

and Btrieve API, overview

Currency

intrarecord

logical

physical

Cursor stability isolation level

Cycle

defined

delete-connected

D

Data buffer

Data compression

about

creating files that use

using

Data dictionaries

contents

creating

deleting

querying

Data encryption

Data files

as locking units

index segments, maximum number of

Data pages

Data security. See Security

Data types

and joins

for columns

in Btrieve data buffers

Data types. See also Pervasive PSQL Programmer's Reference

DATA_COMP constant

Data-only files

Database access methods

Database element names

about

duplicate

maximum lengths for

unique

valid characters for

Databases

adding rows to

bound

creating

defining referential constraints for

deleting

deleting rows from

design of

conceptual

logical

physical

named

normalization of

retrieving rows from 1 2

rights

security

transactions in

updating

using transactions in

Deadlock condition

avoiding

with cursor stability isolation level

with exclusive isolation level

Deadlock detection

Default column values

DEFAULT statement

Defining stored procedures

Definitions

condition

connector

descriptor

extractor

filter

key

key segment

Delete right

description

Delete rule

about

anomalies, for foreign keys

DELETE statement

deleting rows with

invoking triggers with

Delete-connected table

Deleting

columns

databases

foreign keys

indexes

primary keys

rows

savepoints

stored procedures

tables

triggers

users and user groups

Delphi

adding Pervasive PSQL source modules to

and developing Pervasive PSQL applications

creating a file, and Btrieve API

inserting records

and Btrieve API

performing

Get operations, and Btrieve API

Step operations, and Btrieve API

source modules

Btrieve API

updating records

and Btrieve API

working with segmented indexes, and Btrieve API

Dependent

rows

tables

DESC_KEY constant

Descendants

Descending sort order

in indexes

in keys

Descriptor, defined

Developer's Resource Center

about

and language interfaces

Developing Pervasive PSQL applications, getting started

Disabling security

Disk usage

about

blank truncation and

data compression and

page preallocation and

page size and

reducing

Distributing applications

ActiveX interface

distribution rules for Pervasive PSQL engines

overview

required files

shipping requirements for DLLs

Distribution rules for Pervasive PSQL engines

Documentation you supply

Double-byte character support

DRC. See Developer's Resource Center

DROP

DICTIONARY statement

PRIMARY KEY clause

PROCEDURE statement

TRIGGER statement

DROP FOREIGN KEY clause

DROP INDEX statement

DROP TABLE statement

Dropping

columns

indexes

keys

tables

DUP constant

DUP_PTRS constant

Duplicatability

in indexes

in keys

Duplicatable keys

Dynamic Data Exchange (DDE)

Dynamic file expansion

E

Enabling security

Encryption, data

End-user documentation

Ending transactions

English language character sorting

Entities

defined

weak entities

Equal joins

Event logging

Exclusive

isolation level

open mode

transactions

about

when to use

Explicit locks

about 1 2

defined

examples

in concurrent transactions

in non-transactional environment

with multiple position blocks

Expressions

scalar functions in

Extended files and extension files

Extended operations

about

heavy concurrency and

optimizing

performance and

reject count and

Visual Basic and Btrieve API

External index files

Extractor, defined

EXTTYPE_KEY constant

F

FCR. See File Control Record

File backups

File Control Record

in key-only files

in standard data files

pages

File flags

File names

File size, estimating

File specifications, sample

File types

Files

event log

external index

pre-image

required to redistribute applications

trace

transaction log

Filter evaluation precedence

Filter, defined

Filters

optimizing

First normal form

Fixed-length portions of variable-length records

Flags

file

key

Foreign keys

about

creating

defined 1 2

deleting

Free space

list

threshold

FREE_10 constant

FREE_20 constant

FREE_30 constant

French language character sorting

Functions

aggregate

arguments for

AVG

COUNT

MAX

MIN

SUM

with the DISTINCT keyword

scalar

LEFT

overview

RIGHT

G

German language character sorting

Get operations

and Btrieve API, overview

C/C++ and Btrieve API

Delphi and Btrieve API

retrieving records

sample structures

Visual Basic and Btrieve API

Glue DLLs

overview

shipping requirements for

GRANT

access rights statement

LOGIN statement

Group aggregate functions

about

arguments for

GROUP BY clause, with SELECT statement 1 2

Grouping rows

Groups. See User groups

H

HAVING clause, with SELECT statement

Headings

I

IF statement

Implicit locks

about

examples

page

record

with multiple position blocks

Import libraries

IN operator

INCLUDE_SYSTEM_DATA constant

Index balancing configuration option 1 2 3

Indexes

about

attributes

balancing 1 2

creating

creating files that use balanced

dropping

duplicatability in

duplicate key values, storing

external index files

join conditions and

maximum number of

modifiability

named

pages

positioning rules

removing

segmented 1 2

sorting

ascending order

case sensitivity and

descending order

when to use Create Index

Initiation Time Limit configuration option 1 2

Insert

right

description

rule

INSERT statement

invoking triggers with

with VALUES clause

Inserting

records

about

rows

Inserting records

Btrieve API

C/C++ and Btrieve API

Delphi and Btrieve API

sample structures

InstallShield 3 and Glue DLLs

Integrity

of updates 1 2

Interface DLLs

International sort rules

Intrarecord currency

Invalid Descriptor error

causes of

IS NOT NULL operator

IS NULL operator

Isolation levels

cursor stability

deadlock condition

overview

exclusive

deadlock condition

overview

overview

ISR. See International sort rules

J

Japanese language character sorting

Joins

about

cartesian product

computed columns in

data types and

equal

indexes and

nonequal

self

specifying

using views and tables in

K

Key attributes

about

ACS

case-sensitivity

duplicatability 1 2

modifiability

segmentation

sort order

Key buffers, and segmented keys

Key flags

Key numbers, assigning

Key paths, changing

Key segment, defined

Key segments

optimization and

Key specifications, sample

Key types. See Data types

KEY_ONLY constant

Key-only files

about 1 2

creating files that are

Key, defined

Keys

about 1 2 3

adding and dropping

foreign

defined 1 2

deleting

linked-duplicatable vs. repeating-duplicatable

naming

primary

changing

characteristics of

creating

defined

deleting

L

Language interface source modules. See Source modules

Large files

Least-recently-used algorithm

LEAVE statement

LEFT function

LIKE operator

Linked-duplicatable keys

about

advantages when using

Locking units

Locks

about 1 2

bias values for

data files

deadlock condition

explicit 1 2

file

implicit 1 2

implicit page

implicit record

multiple-record

overview

single-record

transaction

Logging

events

transaction

and Accelerated file open mode

log files and log segments

log keys

Logical currency

Logical record length, calculating

Login right

description

Long file names

LOOP statement

Loops

about

and the WHILE statement

exiting from

LRU algorithm. See Least-recently-used algorithm

M

MANUAL_KEY constant

Many-to-many relationship

Master user

MAX function

Memory management

MicroKernel configuration issues

MIN function

Minimum page size, determining

MOD constant

Modifiability

in indexes

in keys

Modifying

data

about

tables

Multi-record operations

Multi-segment key

Multiple

Btrieve clients 1 2

position blocks

N

Named databases

about

NAMED_ACS constant

Naming conventions

columns

database elements

group names

indexes

keys

stored procedures

tables

triggers

usernames

views

Naming files

Nested queries. See Subqueries

NO_INCLUDE_SYSTEM_DATA constant

No-currency-change operations

No-wait locks

NOCASE_KEY constant

Non-duplicatable keys, updating

Non-modifiable keys, updating

Nonequal joins

Normalization of databases

first normal form

overview

second normal form

third normal form

NOT BETWEEN operator

NOT IN operator

NOT LIKE operator

NUL constant

NUMBERED_ACS constant

O

ODBC

One-to-many relationship

One-to-one relationship

Operating system switches

Btrieve API

Operation Bundle Limit configuration option 1 2

Operations, multi-record

Operations, sequence

Operators

BETWEEN

boolean

AND

OR

condition

range 1 2

relational 1 2

IN

IS NOT NULL

IS NULL

LIKE

NOT BETWEEN

NOT IN

NOT LIKE

Optimizing

multi-record operations

Optimum page size

OR boolean operator

ORDER BY clause, with SELECT statement

Orphan rows

Owner names

assigning with Set Owner operation

P

Page Allocation Table

pages

shadow paging and

Page locking

Page preallocation

about 1 2

creating files that use

Page size

about

maximum index segments and

minimum

optimum

Page types

PALN32.DLL, and user-defined data types

Parent

rows

tables

Pascal

source modules

Btrieve API

Passive concurrency

Passive control

Passwords

about

case-sensitivity and

storing

PAT. See Page Allocation Table

Performance

extended operations and

Performance enhancement

extended operations

memory management

page preallocation

system transactions

Permanent indexes. See Linked-duplicatable keys

Pervasive event logging

Pervasive PSQL ActiveX interface. See ActiveX interface

Physical currency

Physical record address

Physical record length, determining 1 2

Position blocks, handling multiple 1 2

Positioning

extended operations and

PRE_ALLOC constant

Pre-image files

PRIMARY KEY clause

Primary keys

changing

characteristics of

creating

defined

deleting

Procedure-owned

variables

Procedures, stored

Processing transactions

PUBLIC group 1 2

PVSW.LOG file

Q

Qualified column names

Querying

data dictionaries

R

Range operators in restriction clauses

Read-only tables in views

Record length

about

calculating logical

calculating physical

Record locks

about 1 2

explicit, in non-transactional

implicit

single

Records

about

accessing

chronological ordering

example

variable-length 1 2

References

defined

paths

cycle

defined

right

Referential constraints

creating

foreign keys with

primary keys with

defining

deleting

foreign keys

primary keys

examples of

overview

Referential integrity

anomalies

about

and delete-connected cycles

and multiple, delete-connected paths

and self-referencing tables

and the delete rule for foreign keys

definitions

delete rule

insert rule

overview

self-referencing tables and

update rule

Registering ActiveX interface

Reject count

Relational operators

Relationships

many-to-many

one-to-many

one-to-one

RELEASE SAVEPOINT statement

REPEAT_DUPS_KEY constant

Repeating-duplicatable keys

about

advantages when using

Reserved duplicate pointers

Reset operation

Restricting file access

Restriction clauses

about

examples

operators

Retrieving

data

using functions

records

Get operations

Step operations

Retrieving data

with SELECT statements

REVOKE

access rights statement

LOGIN statement

Revoking rights

RI. See Referential integrity

RIGHT function

Rights

all

alter

create table

delete

granting

insert

login

overview

references, about

revoking

select

update

ROLLBACK

with TO SAVEPOINT clause

WORK statement

Rolling forward

Rows

deleting

dependent

inserting

orphan

parent

sorting and grouping

updating

S

Sample database. See University database, Developer's Resource Center

Sample structures

creating a file and Btrieve API

inserting records and Btrieve API

performing Get operations and Btrieve API

performing Step operations and Btrieve API

updating records and Btrieve API

using chunks,BLOBs,variable-length records and Btrieve API

SAVEPOINT statement

Savepoints

creating

deleting

overview

rolling back to

Scalar functions

overview

Second normal form

Security

creating user groups and

creating users and

disabling

enabling

groups, naming

master user and

overview

passwords

about

case-sensitivity and

PUBLIC group and

rights

about

setting up

system tables

users, naming

SEG constant

Segmented indexes

and Btrieve API, overview

C/C++ and Btrieve API

Delphi and Btrieve API

Visual Basic and Btrieve API

Segmented key

Segmented keys

about

setting key buffers

Select right

description

SELECT statement

as nested query

lists, specifying

with GROUP BY clause 1 2

with HAVING clause

with ORDER BY clause

with WHERE clause

Selecting, columns

Selection lists

Self joins

Self-referencing tables

Sequence of Btrieve operations

SET

SECURITY statement

about

with NULL keyword

SQL variable statement

Setting

owner names

security

Setup issues

Shadow paging

Shift-JIS characters

Shutting down the MicroKernel

Smart Component Naming

Sort order

descending, in indexes

indexes

keys

ascending and descending

by ACS

rows

Source modules

BTRCONST and BTRAPI32

Btrieve API

C/C++

COBOL

Delphi

overview

Pascal

SQLAPI32

Visual Basic

Spaces in file names

Spanish language character sorting

SPECIFY_KEY_NUMS constant

Specifying

column default values

joins

list of columns

trigger order

triggers

SQL control statements

compound statements

IF statement

LEAVE statement

LOOP statement

overview

WHILE statement

SQL variable statements

assigning

overview

procedure-owned variables

Standard data files

START TRANSACTION statement

Starting

a Pervasive PSQL application

transactions

Status Coded 62

causes of

Step operations

and Btrieve API, overview

and retrieving records

C/C++ and Btrieve API

Delphi and Btrieve API

sample structures

Stop operations, and shutting down the MicroKernel

Stored procedures

as triggers

creating

defining

deleting

invoking

naming

overview

Stored statements. See Stored procedures

Stored views

Storing, passwords

Subqueries

about

correlated

limitations

SUM function 1 2

Supplemental indexes. SeeRepeating-duplicatable keys

Supporting multiple Btrieve clients

System data

about

creating files that use

System tables

System transactions

frequency of

overview

T

Tables

aliases for, assigning

creating

defining

relationships with referential integrity

views as an alternative

delete-connected

deleting

dependent

defined

descendant

dropping

joining

with other tables

with views

modifying definitions of

naming

about

case sensitivity and

parent

primary keys, changing

read-only in views

relationships

many-to-many

one-to-many

one-to-one

overview

self-referencing

anomalies

defined

system

Temporary views

Third normal form

Trace files

Trace Operations configuration option

Transaction durability

not available with accelerated mode

Transaction durability, about

Transaction locks

Transaction logging

Transactions

about

concurrent vs. exclusive

concurrent, about

ending

exclusive, about

locking units in

nesting, with savepoints

overview of

processing 1 2

rolling back

special considerations for

starting

Triggers

creating

defining trigger action

deleting

invoking

naming

overview

specifying execution time

specifying order of execution

U

UDT. See User-defined data types

Unique indexes

University database

and referential integrity

entity relationships

overview

referential integrity

structure

table design

tables

Billing

Class

Course

Department

Enrolls

Faculty

Person

Room

Student

Tuition

Unused file space 1 2

Update

anomalies, avoiding

right

description

rule

UPDATE statement

invoking triggers with

overview

with SET clause

with WHERE clause 1 2

Updating records

and Btrieve API, overview

C/C++ and Btrieve API

Delphi

and Btrieve API

sample structures

Visual Basic

and Btrieve API

Updating rows

UPPER.ALT file

User groups

creating

deleting

granting rights to

PUBLIC

User-defined ACSs

User-defined data types, and Btrieve API

Users

creating

deleting

granting rights to

V

Validation

of descriptor

VALUES clause, with INSERT statement

VAR_RECS constant

Variable pages

Variable statements. See SQL variable statements

Variable-length records

about

and Btrieve API, overview

blank truncation and

creating files that use

inserting and updating

reading

sample structures

Variable-tail Allocation Tables

about

creating files that use

Variables

SQL

assigning

procedure-owned

VATS_SUPPORT constant

VATs. See Variable-tail Allocation Tables

Views

column headings in

creating

features of

joining, with tables

naming

stored

temporary

with read-only tables

Visual Basic

adding Pervasive PSQL source modules to

and developing Pervasive PSQL applications

Btrieve API and byte alignment

creating a file, and Btrieve API

including PALN32.DLL in a project

performing

Get operations, and Btrieve API

source modules

Btrieve API

updating records

and Btrieve API

using chunks,BLOBs,extended operations, and Btrieve API

working with segmented indexes, and Btrieve API

W

W1BTRV7.DLL

W1BTRV7.LIB

W1DBNV7.DLL

W1DBNV7.LIB

W1SQLV7.DLL

W1SQLV7.LIB

W3BTRV7.DLL

W3BTRV7.LIB

W3DBNV7.DLL

W3DBNV7.LIB

W3SQLV7.DLL

W3SQLV7.LIB

Wait locks

Wasted file space 1 2

Weak entities

WHEN clause, in triggers

WHERE clause, with SELECT statement

WHILE statement

X

xCopyFile function in InstallShield


Chapter contents
Book contents

Prev topic: Referential Integrity in the University Database
Next topic: