xe7 devguide.chapter 1-4.pdf
TRANSCRIPT
-
Embarcadero InterB
ase XE7
Developers Guide
Publish
ed Release
Date
: N
ovem
be
r, 2
014
-
2
01
4 E
mb
arc
ade
ro T
ech
nolo
gie
s,
Inc.
Em
barc
ad
ero
, th
e E
mbarc
adero
Techn
olo
gie
s log
os,
an
d
all
oth
er
Em
ba
rca
dero
Techn
olo
gie
s p
rod
uct
or
serv
ice n
am
es a
re tra
de
ma
rks o
r re
gis
tere
d tra
dem
ark
s
of E
mba
rca
dero
Techn
olo
gie
s,
Inc.
All
oth
er
tra
dem
ark
s a
re p
rope
rty o
f th
eir r
esp
ective o
wne
rs.
Th
is s
oftw
are
/do
cum
enta
tion c
on
tain
s p
roprie
tary
info
rmation o
f E
mbarc
adero
Techno
log
ies, In
c.;
it is p
rovid
ed
under
a lic
ense a
gre
em
ent co
nta
inin
g r
estr
ictio
ns o
n u
se a
nd
dis
clo
sure
an
d is a
lso
pro
tecte
d b
y c
opyrig
ht
law
. R
eve
rse
engin
eerin
g o
f th
e s
oftw
are
is p
rohib
ited.
Em
barc
ade
ro T
echnolo
gie
s,
Inc.
is a
lea
din
g p
rovid
er
of
aw
ard
-win
nin
g t
ools
for
applic
ation
develo
pers
and d
ata
base
pro
fessio
na
ls s
o they c
an d
esig
n s
yste
ms r
ight, b
uild
th
em
faste
r and
run t
hem
bette
r, r
egard
less o
f th
eir
pla
tform
or
pro
gra
mm
ing lang
uage
. N
inety
of
the F
ort
un
e 1
00
and
an a
ctive c
om
mun
ity o
f m
ore
th
an t
hre
e m
illio
n u
sers
world
wid
e r
ely
on
Em
ba
rca
dero
pro
ducts
to
incre
ase p
roductivity,
redu
ce
co
sts
, sim
plif
y c
ha
nge m
ana
gem
en
t an
d c
om
plia
nce,
and
acce
lera
te inn
ovation
. F
ound
ed in 1
993,
Em
barc
adero
is h
eadqu
art
ere
d in
San
Fra
ncis
co
,
with o
ffic
es locate
d a
round
the w
orl
d. To le
arn
mo
re, ple
ase v
isit h
ttp
://w
ww
.em
barc
ad
ero
.com
.
Novem
be
r 1
4, 20
14
-
ix
Co
nte
nts
ix
Tab
les
ix
Fig
ure
six
Chapte
r 1
Usin
g t
he In
terB
ase
Develo
per
sG
uid
eTo
pic
s c
ove
red
in
th
is b
oo
k .
. .
. .
. .
. . .
.1
-1
Chapte
r 2
Clien
t/S
erv
er
Co
ncep
tsD
efin
itio
n o
f a
Clie
nt.
. .
. .
. .
. .
. .
. . .
.2
-1
Th
e Inte
rBa
se
Clie
nt L
ibra
ry. .
. .
. .
. . .
. .2
-2
De
fin
itio
n o
f a
Se
rve
r . . .
. .
. .
. .
. . .
. .2
-3
Ap
plic
atio
n D
eve
lop
me
nt .
. .
. .
. .
. . .
. .2
-4
Clie
nt Too
ls A
pplic
ations .
. .
.
.
. .
.
. .
.2
-4
Inte
rBa
se E
xp
ress (
IBX
) fo
r D
elp
hi and
C+
+
Bu
ilde
r.
. .
. . .
. .
. .
. .
. .
. . .
.2
-4
db
Exp
ress (
DB
X)
. .
. .
. .
. .
. . .
. .2
-4
AD
O.N
ET
Pro
vid
er
for
Inte
rBase (
64-b
it)
.2-5
Develo
pin
g a
nd
De
plo
yin
g th
e In
terB
ase T
oG
o
Ed
itio
n
. . .
. .
. . .
. .
. .
. . . . .
. .2
-7
De
ve
lop
ing
wit
h t
he
To
Go
Ed
itio
n . .
.2
-8
De
plo
yin
g w
ith
th
e T
oG
o E
dit
ion
. . .
.2
-8
Em
be
dd
ed
Ap
plic
atio
ns . .
. .
. .
. . .
. 2
-10
Pre
defin
ed D
ata
ba
se Q
ue
ries
.
.
. . .
2-1
0
Dyn
am
ic A
pp
lica
tio
ns
. .
. .
. .
. . .
. 2
-10
AP
I A
pp
lica
tio
ns
. . .
. .
. .
. .
. .
. . .
2-1
1
Advanta
ges o
f U
sin
g t
he
Inte
rBase
AP
I 2
-11
AP
I F
un
ctio
n C
ate
go
rie
s . .
. .
. . .
. 2
-11
Th
e I
nsta
ll A
PI a
nd t
he L
ice
nsin
g A
PI .
2-1
1
Multi-data
base A
pplic
ations . .
.
.
. .
.
. 2
-12
Chapte
r 3
Pro
gra
mm
ing
Ap
plicati
on
s w
ith
D
elp
hio
rC
++
Bu
ild
er
Op
tim
izin
g t
he I
nte
rBa
se S
QL L
inks D
rive
r .
. .3
-1
Se
ttin
g th
e D
rive
r F
lag
s . .
. .
. .
. . . . .3
-2
Settin
g t
he S
QL P
ass-t
hro
ug
h M
ode
. .
.
. .3
-2
Settin
g th
e S
QL Q
uery
Mo
de
. .
. .
. . .
.3
-2
Wo
rkin
g w
ith
TQ
ue
ry . .
. .
. .
. .
. . . . .
.3
-3
Why N
ot
to U
se
TTa
ble
. .
. .
. .
. .
. . .
.3
-3
Settin
g T
Query
Pro
pert
ies a
nd M
eth
ods
. . .3
-3
Usin
g G
en
era
tors
. . . .
. .
. .
. .
. . .
. .
. 3
-4
Chapte
r 4
Pro
gra
mm
ing
wit
hJD
BC
Insta
llin
g I
nte
rClie
nt
Cla
sse
s in
to J
Build
er
. .
. 4
-1
Data
base A
pplic
ation B
asic
s
. .
. . .
. .
. 4
-1
Usin
g J
DB
C U
RL
s. .
. .
. .
. .
. . .
. .
. 4
-3
JD
BC
UR
L A
rgu
me
nt
. . .
. .
. .
. . .
. .
4-4
Lo
g W
rite
r F
ile P
ropert
y .
. .
.
.
. .
.
. .
. 4
-4
SS
L F
ile P
rop
ert
ies
. .
. .
. .
. .
. . .
. .
4-5
Pro
gra
mm
ing w
ith Inte
rClie
nt. .
. .
. . .
. .
. 4
-6
Inte
rClie
nt A
rchitectu
re . .
.
.
. .
.
. . . .
4-6
Inte
rClie
nt C
om
mun
ication
.
.
. .
.
. .
. .
4-7
Deve
lopin
g I
nte
rClie
nt
Pro
gra
ms .
.
.
. . .
. .
4-8
Usin
g th
e J
DB
C I
nte
rfa
ce
s . .
. .
. . .
. .
4-8
Imp
ort
ing t
he I
nte
rClie
nt C
lasses
. . .
. .
4-9
Th
e D
riverM
anager
Cla
ss
. .
. . .
. .
. 4
-9
Th
e D
rive
r C
lass
. . .
. .
. .
. . .
. . . 4
-9
Th
e C
on
ne
ctio
n C
lass . .
. .
. . .
. .
4-1
0
Abou
t In
terC
lient D
rive
rs. .
.
.
. .
.
. . .
4-1
0
Lo
ad
ing
the
In
terC
lien
t D
rive
r
. . .
. .
4-1
1
Explic
itly
Cre
ating t
he I
nte
rClie
nt D
river
4-1
1
Accessin
g Inte
rClie
nt E
xte
nsio
ns t
o the
JD
BC
.
4-1
2
Op
enin
g a
Data
ba
se
Conne
ction
.
. .
. .
4-1
3
Usin
g the
Dri
verM
anag
er
to G
et
a
Co
nn
ectio
n . . .
. .
. .
. .
. . .
. . 4
-13
Usin
g Inte
rClie
nt
Driver
Ob
ject to
Ge
t a
Co
nn
ectio
n . . .
. .
. .
. .
. . .
. . 4
-13
Cho
osin
g b
etw
een
the D
rive
r an
d
DriverM
an
age
r M
eth
od
s
. .
. . .
. .
4-1
4
De
fin
ing
Co
nn
ectio
n P
ara
me
ters
. . .
.
4-1
4
Se
cu
rity
. . .
. . .
. .
. .
. .
. . . . .
4-1
5
Executing
SQ
L S
tate
men
ts . .
. .
. . .
.
4-1
5
Th
e S
tate
me
nt C
lass .
. .
. .
. . .
. .
4-1
5
Qu
ery
ing
Da
ta . .
. .
. .
. .
. . .
. .
4-1
6
Sele
ctin
g D
ata
with P
repare
dS
tate
ment 4
-17
Fin
aliz
ing
Ob
jects
. .
. .
. .
. .
. . .
.
4-1
8
Mo
difyin
g D
ata
. . .
. .
. .
. .
. . .
.
4-1
8
Executing
Sto
red P
roced
ure
s .
.
.
. . .
.
4-2
0
Sta
tem
en
t E
xa
mp
le. .
. .
. .
. . .
. .
4-2
0
Pre
pa
redS
tate
me
nt
Exam
ple
. .
. . .
.
4-2
1
Tro
ub
lesho
oting I
nte
rClie
nt P
rog
ram
s
. . .
.
4-2
1
Han
dlin
g In
sta
llation
Pro
ble
ms
. .
. . .
.
4-2
1
Deb
ugg
ing y
our
Applic
ation
.
. .
.
. .
. .
4-2
2
Dep
loyin
g Inte
rClie
nt P
rogra
ms. .
. .
. . .
.
4-2
3
Co
nte
nts
x
Dep
loyin
g Inte
rClie
nt
Pro
gra
ms a
s A
pple
ts 4
-23
Req
uired
Softw
are
fo
r A
pp
lets
. .
. . .
4-2
4
Pro
s a
nd C
on
s o
f A
pple
t D
eplo
ym
en
t. .
4-2
4
Dep
loyin
g Inte
rClie
nt
Pro
gra
ms a
s A
pplic
atio
ns
4-2
4
Req
uired
Softw
are
fo
r A
pp
licatio
ns
. . .
4-2
5
Inte
rClie
nt/JD
BC
Com
plia
nce
Spe
cific
ations
. 4
-25
Inte
rClie
nt E
xte
nsio
ns to t
he J
DB
C A
PI . .
4-2
6
JD
BC
Fea
ture
s N
ot Im
ple
men
ted in In
terC
lien
t
4-2
6
Inte
rClie
nt Im
ple
men
tatio
n o
f JD
BC
Fe
atu
res
.
4-2
8
Inte
rBa
se F
ea
ture
s N
ot A
vaila
ble
th
rough
Inte
rClie
nt or
JD
BC
. .
. .
. .
.
.
. .
. . 4
-28
Ja
va
SQ
L D
ata
typ
e S
up
po
rt .
. .
. .
. . .
4-2
9
SQ
L-t
o-J
ava
Typ
e C
on
ve
rsio
ns
. .
. . .
. 4
-30
Java-t
o-S
QL
Typ
e C
onve
rsio
n. .
. .
. . .
4-3
1
Inte
rClie
nt C
lass R
efe
rences
. .
.
.
. .
.
. 4
-31
Inte
rClie
nt D
ata
Sourc
e P
rop
ert
ies for
Inte
rBase
.
4-3
2
Sta
nd
ard
pro
pe
rtie
s. .
. .
. .
. .
. . .
4-3
2
Exte
nded
Pro
pert
ies
. .
. .
.
.
. .
.
. 4
-33
Inte
rClie
nt C
on
nection
Po
olin
g. .
.
.
. . .
4-3
5
Inte
rClie
nt S
cro
llabili
ty. .
. .
. .
.
.
. .
.
. .
4-3
6
Th
e C
on
ne
ctio
n C
lass
. . .
. .
. .
. . .
. 4
-36
Th
e R
esu
ltS
et
Cla
ss
. . .
. .
. .
. .
. . .
4-3
7
Ad
ditio
na
l F
un
ctio
ns
. . .
. .
. .
. .
. . .
4-3
7
Batc
h U
pdate
s.
. .
. . .
. .
. .
.
.
. .
.
. .
4-3
8
Meth
ods f
or
the
Sta
tem
ent a
nd
Pre
pare
dS
tate
men
t C
lasse
s .
. .
. . .
. 4
-38
Th
e B
atc
hU
pda
teE
xce
ption C
lass
.
. . .
. 4
-39
Th
e D
ata
base
Me
taD
ata
.su
pport
sB
atc
hU
pd
ate
s
Fu
nctio
n .
. .
. . .
. .
. .
. .
. . . . .
4-4
0
Co
de
Exa
mp
les
.
. . .
. .
. .
. .
. . .
. 4
-40
Imple
menta
tion
of B
lob
, C
lob, an
d O
ther
Rela
ted
AP
Is .
. .
. . .
. .
. . .
. .
. . . .
. . .
. 4
-41
Chapte
r 5
Pro
gra
mm
ing
Ap
plicati
on
s
wit
hO
DB
CO
ve
rvie
w o
f O
DB
C .
. . .
. .
. .
. .
. . .
. .5
-1
Con
fig
uring
an O
DB
C D
river. .
. .
. . .
. .5
-2
Con
fig
uring
and U
sin
g O
DB
C D
ata
Sourc
es .
.5
-2
Co
nfig
uri
ng
Da
ta S
ou
rce
s .
. .
. .
. . .
. .5
-2
Con
necting f
rom
De
lph
i U
sin
g t
he O
DB
C D
ata
So
urc
e
. . .
. .
. . .
. .
. .
. .
. . .
. .5
-3
Chapte
r 6
Wo
rkin
g w
ith
UD
Fs a
nd
Blo
b
Filte
rsU
DF
Ove
rvie
w .
. .
. . .
. .
. .
. .
. . .
. .
6-2
Writin
g a
Fu
nctio
n M
od
ule
. .
. .
. .
. . .
. .
6-2
Wri
tin
g a
UD
F . .
. . .
. .
. .
. .
. . .
. .
6-2
Specifyin
g P
ara
mete
rs .
. .
. .
. . .
. .
6-3
Specifyin
g a
Re
turn
Va
lue
. .
. . .
. .
. 6
-3
Ch
ara
cte
r D
ata
typ
es
. . .
. .
. . .
. .
. 6
-3
Ca
llin
g C
on
ve
ntio
ns
. .
. .
. .
. . .
. .
6-4
Th
read-s
afe
UD
Fs
. .
. .
. .
.
.
. .
.
. .
. 6
-4
Com
pili
ng
and L
inkin
g a
Function
Mod
ule
.
. .
6-6
Cre
atin
g a
UD
F L
ibra
ry . .
. .
. .
. . .
. .
6-7
Modifyin
g a
UD
F L
ibra
ry. .
. .
. .
. . .
. .
6-7
Decla
ring
a U
DF
to a
Da
tab
ase
. .
. .
. . .
. .
6-7
Defin
ing a
Sam
ple
UD
F w
ith a
Descripto
r
Pa
ram
ete
r . .
. . .
. .
. .
. .
. . . . .
. 6
-9
De
cla
rin
g U
DF
s w
ith
FR
EE
_IT
. .
. . .
.
6-1
2
UD
F L
ibra
ry P
lace
me
nt .
. .
. .
. . .
. . 6
-13
Ca
llin
g a
UD
F.
. .
. . .
. .
. .
. .
. . .
. .
6-1
4
Calli
ng
a U
DF
with S
ELE
CT
. .
. .
. . .
.
6-1
4
Calli
ng
a U
DF
with IN
SE
RT
.
. .
. . .
. .
6-1
5
Calli
ng
a U
DF
with U
PD
AT
E.
.
. .
.
. .
.
6-1
5
Calli
ng
a U
DF
with D
ELE
TE
. .
. .
. . .
.
6-1
5
Wri
tin
g a
Blo
b U
DF
. . .
. .
. .
. .
. . .
. .
6-1
5
Cre
atin
g a
Blo
b C
on
tro
l S
tructu
re .
. . .
.
6-1
5
De
cla
rin
g a
Blo
b U
DF
. . .
. .
. .
. . .
.
6-1
6
A B
lob
UD
F E
xa
mp
le . .
. .
. .
. . .
. . 6
-17
Th
e In
terB
ase U
DF
Lib
rary
. . .
. .
. . .
. .
6-1
8
ab
s. .
. . .
. .
. . .
. .
. .
. . . . .
. .
6-2
0
aco
s .
. . .
. .
. . .
. .
. .
. .
. . .
. .
6-2
0
ascii_
ch
ar
. .
. .
. . .
. .
. .
. . . . .
.
6-2
0
ascii_
va
l . . .
. .
. . .
. .
. .
. . . . .
.
6-2
0
asin
. .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
1
ata
n
. .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
1
ata
n2
. .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
1
bin
_a
nd
. . .
. .
. . .
. .
. .
. . . . .
.
6-2
1
bin
_o
r .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
1
bin
_xo
r. . .
. .
. . .
. .
. .
. .
. . .
. .
6-2
1
ce
ilin
g
. . .
. .
. . .
. .
. .
. . . . .
. .
6-2
2
co
s. .
. . .
. .
. . .
. .
. .
. . . . .
. .
6-2
2
co
sh
.
. . .
. .
. . .
. .
. .
. .
. . .
. .
6-2
2
co
t . .
. . .
. .
. . .
. .
. .
. . . . .
. .
6-2
2
div
.
. .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
2
flo
or
.
. . .
. .
. . .
. .
. .
. . . . .
. .
6-2
3
ln. .
. .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
3
log
.
. .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
3
log
10
. .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
3
low
er. .
. . .
. .
. . .
. .
. .
. .
. . .
.
6-2
3
-
xi
ltri
m. .
. . .
. .
. . .
. .
. .
. .
. .
. . .
6-2
3
mo
d
. .
. . .
. .
. . .
. .
. .
. .
. . .
. 6
-24
pi . .
. .
. . .
. .
. . .
. .
. . . .
. . .
. 6
-24
ran
d
. .
. . .
. .
. . .
. .
. .
. .
. . .
. 6
-24
rtri
m
. .
. . .
. .
. . .
. .
. .
. .
. . .
. 6
-24
sig
n. .
. . .
. .
. . .
. .
. .
. . . .
. . .
6-2
4
sin
. .
. . .
. .
. . .
. .
. .
. .
. .
. . .
6-2
5
sin
h. .
. . .
. .
. . .
. .
. .
. . . .
. . .
6-2
5
sq
rt. .
. . .
. .
. . .
. .
. .
. . . .
. . .
6-2
5
str
len
.
. . .
. .
. . .
. .
. .
. . . .
. . .
6-2
5
su
bstr
. .
. . .
. .
. . .
. .
. .
. .
. . .
. 6
-25
tan
. .
. . .
. .
. . .
. .
. .
. .
. .
. . .
6-2
6
tan
h. .
. . .
. .
. . .
. .
. .
. . . .
. . .
6-2
6
De
cla
rin
g B
lob
Filt
ers
. . .
. .
. .
. .
. . .
. 6
-26
Chapte
r 7
Desig
nin
g D
ata
base A
pp
licati
on
sU
sin
g In
terB
ase
Da
tab
ase
s .
. .
. .
. .
. . .
.7
-2
Lo
ca
l D
ata
ba
se
s . . .
. .
. .
. .
. .
. . .
.7
-2
Re
mo
te D
ata
ba
se
Se
rve
rs. .
. .
. .
. . .
.7
-2
Da
tab
ase
Se
cu
rity
. . .
. .
. .
. .
. . .
. .7
-3
Tra
nsa
ctio
ns
. .
. . .
. .
. .
. .
. . . . .
.7
-3
Th
e D
ata
Dic
tio
na
ry . .
. .
. .
. .
. . .
. .7
-4
Refe
ren
tial In
tegrity
, S
tore
d P
roce
dure
s,
and
Tri
gg
ers
. . .
. .
. . .
. .
. .
. .
. . .
. .7
-5
Da
tab
ase
Arc
hite
ctu
re. .
. .
. .
. .
. .
. . .
.7
-6
Pla
nnin
g for
Scala
bili
ty. .
. .
.
.
. .
.
. .
.7
-6
Sin
gle
-tie
red
Da
tabase A
pplic
ation
s .
.
. .
.7
-8
Tw
o-t
iere
d D
ata
ba
se
Ap
plic
atio
ns
.
. . .
. .7
-8
Multi-tiere
d D
ata
base A
pplic
ation
s.
.
. . .
.7
-9
Desig
nin
g the
Use
r In
terf
ace
. .
. .
. .
. . .
7-1
0
Dis
pla
yin
g a
Sin
gle
Re
co
rd . .
. .
. . .
. 7
-11
Dis
pla
yin
g M
ultip
le R
eco
rds
. . .
. .
. . .
7-1
1
An
aly
zin
g D
ata
. . . .
. .
. .
. .
. .
. . .
7-1
2
Sele
ctin
g W
ha
t D
ata
to
Sh
ow
. .
. .
. . .
7-1
2
Chapte
r 8
Bu
ild
ing
Mu
lti-
tiere
dA
pp
licati
on
sU
nd
ers
tan
din
g D
ata
bases a
nd D
ata
sets
.
. .
.8
-1
Usin
g T
ran
sa
ctio
ns
. .
. .
. .
. .
. .
. . .
.8
-2
Usin
g a
Tra
nsaction C
om
po
nen
t .
.
. .
.8
-3
Ca
ch
ing
Up
da
tes
. . . .
. .
. .
. .
. . .
. .8
-4
Cre
atin
g a
nd R
estr
uctu
ring
Data
base T
able
s8
-4
Usin
g th
e B
rie
fca
se
Mo
de
l . .
. .
. .
. . .
.8
-5
Scalin
g U
p t
o a
Thre
e-t
iere
d A
pplic
ation
.
. .
.8
-6
Cre
atin
g M
ulti-
tiere
d A
pplic
ation
s .
.
.
. .
. . .8
-6
Chapte
r 9
Intr
od
ucti
on
to
IB
X
Chapte
r 10
Co
nn
ecti
ng
to
Data
bases
Pers
iste
nt
and T
em
po
rary
Da
tab
ase C
om
po
nen
ts .
10
-1 Usin
g T
em
pora
ry D
ata
base
Co
mp
one
nts
.
10-2
Cre
atin
g D
ata
ba
se
Co
mpone
nts
at D
esig
n T
ime
10
-2
Con
trolli
ng C
onne
ctions
. .
. .
.
.
. .
. . .
10-2
Con
trolli
ng S
erv
er
Login
. .
. .
. .
. . .
.
10-2
Co
nn
ectin
g to
a D
ata
ba
se
Se
rve
r . . .
. .
10
-3
Work
ing
with
Ne
two
rk P
roto
cols
. .
. . .
.
10-4
Usin
g O
DB
C.
. .
. . .
. .
. .
. .
. . .
.
10
-4
Dis
con
necting
fro
m a
Data
base S
erv
er . .
10-4
Ite
rating T
hro
ugh
a D
ata
base C
om
po
nen
ts
Da
tase
ts . .
. .
. . .
. .
. .
. .
. . .
.
10
-5
Req
uesting
Info
rmation
ab
out
an A
ttachm
en
t
10-5
Data
base C
hara
cte
ristics
. . . .
. . .
. .
10-5
Environ
menta
l C
ha
racte
ristics
. .
. . .
. .
10-6
Pe
rfo
rma
nce
Sta
tistics
. .
. .
. .
. . .
. .
10
-7
Data
ba
se O
pe
ration C
ou
nts
. .
. .
. . .
.
10-7
Re
qu
estin
g D
ata
ba
se
In
form
atio
n. . .
. .
10
-8
Chapte
r 11
Imp
ort
ing
an
d E
xp
ort
ing
Data
Export
ing
and Im
port
ing R
aw
Data
.
. . .
. .
11-1
Exp
ort
ing
Ra
w D
ata
. . .
. .
. .
. . .
. .
11-2
Imp
ort
ing
Ra
w D
ata
. . .
. .
. .
. . .
. .
11-2
Export
ing
and I
mp
ort
ing D
elim
ite
d D
ata
.
. .
11-3
Export
ing
De
limited
Da
ta . .
. .
. . .
. .
11-3
Imp
ort
ing
De
limite
d D
ata
. .
. .
. . .
. . 1
1-4
Chapte
r 12
Wo
rkin
g w
ith
In
terB
ase S
erv
ices
Ove
rvie
w o
f th
e Inte
rBase S
erv
ice C
om
ponen
ts . .
12
-1 Abou
t th
e S
erv
ices M
anag
er
.
.
. .
.
. .
12-2
Serv
ice C
om
ponen
t H
iera
rchy
. .
.
. .
. .
12-2
Attach
ing t
o a
Se
rvic
e M
anage
r .
.
. . .
.
12-3
Deta
chin
g f
rom
a S
erv
ice M
ana
ger
. .
. .
12-3
Se
ttin
g D
ata
ba
se
Pro
pe
rtie
s . .
. .
. . .
. .
12
-3
Bring
ing a
Data
base O
nlin
e .
. .
. . .
. .
12-4
Shuttin
g D
ow
n a
Data
base
.
.
. .
.
. .
.
12-4
Se
ttin
g t
he
Sw
ee
p In
terv
al.
. .
. .
. . .
.
12
-5
Se
ttin
g t
he
Asyn
c M
od
e .
. .
. .
. . .
. . 1
2-5
Se
ttin
g t
he
Pa
ge
Bu
ffe
rs. .
. .
. .
. . .
.
12
-6
xii
Se
ttin
g th
e A
cce
ss M
od
e. .
. .
. .
. . .
. 1
2-6
Settin
g t
he D
ata
base
Re
serv
e S
pace
.
. .
12
-6
Activa
ting t
he D
ata
ba
se
Sh
adow
. .
.
. .
. 1
2-7
Addin
g a
nd
Re
mo
vin
g J
ou
rnal F
iles
.
. . .
12
-7
Backin
g u
p a
nd R
esto
rin
g D
ata
base
s.
.
. . .
12
-7
Settin
g C
om
mon B
ackup
an
d R
esto
re
Pro
pert
ies.
. .
. . .
. .
. .
.
.
. .
.
. .
12
-8
Ba
ckin
g U
p D
ata
ba
se
s. .
. .
. .
. .
. . .
12
-8
Settin
g th
e B
ackup O
ptions
. .
. .
. . .
12
-8
Dis
pla
yin
g B
acku
p O
utp
ut . .
. .
. . .
12
-9
Settin
g U
p a
Backup C
om
po
nen
t. .
.
. 1
2-9
Backin
g U
p a
Da
tabase t
o M
ultip
le F
iles
. .
12-1
0
Re
sto
rin
g D
ata
ba
se
s. .
. .
. .
. .
. . . 1
2-1
1
Settin
g t
he D
ata
base
Ca
che S
ize
. .
.
12
-11
Settin
g t
he P
age S
ize
. .
. .
.
.
. .
.
12
-11
Settin
g th
e R
esto
re O
ptio
ns
. .
. . .
12
-11
Dis
pla
yin
g R
esto
re O
utp
ut
.
. .
. . .
12-1
2
Settin
g u
p a
Resto
re C
om
po
nen
t. .
.
12-1
2
Resto
ring
a D
ata
base f
rom
Multip
le B
ackup
File
s . .
. .
. . .
. .
. .
. .
. . . .
12
-13
Resto
ring
a D
ata
base t
o M
ultip
le F
iles
12-1
4
Perf
orm
ing D
ata
ba
se M
ain
tena
nce
.
. .
.
.
12-1
5
Valid
atin
g a
Da
tab
ase
. .
. .
. .
. .
. .
12
-15
Dis
pla
yin
g L
imbo T
ransactio
n Info
rmation
12-1
6
Resolv
ing L
imb
o T
ransaction
s. .
. .
. .
12-1
6
Req
uesting D
ata
base a
nd
Serv
er
Sta
tus R
eport
s.
12-1
7
Requesting D
ata
base S
tatistics
. .
. . .
12-1
7
Usin
g th
e L
og
Se
rvic
e. .
. .
. .
. .
. .
. .
12
-19
Co
nfig
uri
ng
Use
rs . .
. . .
. .
. .
. .
. . .
12
-19
Addin
g a
User
to t
he S
ecurity
Data
ba
se
. 1
2-2
0
Lis
ting
Use
rs in
the
Secu
rity
Data
ba
se
. .
12-2
1
Dis
pla
yin
g Info
rmation
for
a S
ingle
User
. .
12-2
1
Dis
pla
yin
g Info
rmation fo
r A
ll U
se
rs. .
12
-21
Rem
ovin
g a
User
from
th
e S
ecurity
Da
tabase
.
12-2
1
Modifyin
g a
Use
r in
the
Secu
rity
Data
base
12-2
2
Dis
pla
yin
g S
erv
er
Pro
pe
rtie
s . .
. .
. .
. .
12
-22
Dis
pla
yin
g the
Da
tab
ase In
form
ation
. . .
12-2
2
Dis
pla
yin
g Inte
rBase C
onfigura
tio
n P
ara
mete
rs
12-2
3
Dis
pla
yin
g the
Serv
er
Vers
ion
.
. .
.
. .
12-2
4
Chapte
r 13
Pro
gra
mm
ing
wit
h
Data
base
Even
tsS
ettin
g u
p E
ve
nt
Ale
rts
. .
. .
. .
. .
. . .
. 1
3-2
Writing a
n E
ven
t H
an
dle
r .
. .
. .
. . .
.
13-2
Chapte
r 14
Wo
rkin
g w
ith
Cach
ed
Up
date
sD
ecid
ing
When
to U
se C
ache
d U
pda
tes
. .
.
14-1
Usin
g C
ach
ed
Up
da
tes .
. .
. .
. .
. . .
. .
14
-2
Enab
ling a
nd D
isa
blin
g C
ached
Update
s .
14-3
Fe
tch
ing
Re
co
rds . .
. .
. .
. .
. . .
. .
14
-4
Apply
ing C
ach
ed U
pd
ate
s. .
. .
. . .
. .
14-4
Apply
ing C
ach
ed U
pd
ate
s w
ith
a D
ata
base
Co
mp
on
en
t M
eth
od
. .
. .
. .
. . .
.
14
-5
Apply
ing C
ach
ed U
pd
ate
s w
ith
a D
ata
se
t
Com
po
nen
t M
eth
ods
. .
.
. .
.
. .
.
14-6
Apply
ing U
pd
ate
s f
or
Maste
r/d
eta
il Table
s . .
14
-6
Can
celin
g P
endin
g C
ache
d U
pda
tes
.
. .
14-7
Can
celli
ng P
end
ing U
pdate
s a
nd D
isa
blin
g
Fu
rth
er
Cached
Up
date
s .
. .
. . .
.
14-8
Can
celin
g P
endin
g C
ache
d U
pda
tes
. .
14-8
Can
celin
g U
pda
tes t
o t
he C
urr
ent
Record
. .
14
-8
Und
ele
tin
g C
ache
d R
ecord
s. .
. .
. . .
.
14-8
Specifyin
g V
isib
le R
ecord
s in t
he C
ach
e .
14-9
Ch
eckin
g U
pd
ate
Sta
tus
. .
. .
. .
. . .
.14
-10
Usin
g U
pdate
Obje
cts
to U
pd
ate
a D
ata
set.
.1
4-1
1
Specifyin
g the
Up
date
Obje
ct
Pro
pert
y for
a
Da
tase
t. .
. .
. . .
. .
. .
. .
. . .
. .1
4-1
2
Usin
g a
Sin
gle
Up
date
Ob
ject
.
. . .
.14
-13
Usin
g M
ultip
le U
pdate
Ob
jects
.
. . .
.14
-13
Cre
atin
g S
QL S
tate
me
nts
for
Update
Co
mp
on
en
ts . .
. . .
. .
. .
. .
. . . .
14
-14
Cre
atin
g S
QL S
tate
me
nts
at
Desig
n T
ime
. .
14
-14
Unders
tandin
g P
ara
mete
r S
ubstitu
tion in
Up
da
te S
QL
Sta
tem
en
ts
. .
. . .
. .1
4-1
5
Com
po
sin
g U
pdate
SQ
L S
tate
me
nts
. .
14
-16
Usin
g a
n U
pda
te C
om
pone
nts Q
ue
ry
Pro
pe
rty
. . .
. . .
. .
. .
. .
. . . .
14
-18
Usin
g the
De
lete
SQ
L, In
sert
SQ
L,
ModifyS
QL,
an
d R
efr
eshS
QL P
ropert
ies . .
14
-19
Executing
Up
date
Sta
tem
en
ts .
.
.
. . .
.14
-19
Calli
ng
the
App
ly M
eth
od
. .
. .
. . .
.14
-19
Ca
llin
g th
e S
etP
ara
ms M
eth
od
. . .
. .1
4-2
0
Calli
ng
the
ExecS
QL M
eth
od
. .
. . .
.14
-21
Usin
g D
ata
set C
om
pone
nts
to U
pda
te a
Data
set
14
-22
Up
da
tin
g a
Re
ad
-on
ly R
esu
lt S
et. .
. . .
. .1
4-2
3
Con
trolli
ng the
Up
date
Pro
cess
. .
.
.
. . .
.14
-23
-
xiii
Dete
rmin
ing if you N
eed to C
on
trol th
e U
pda
tin
g
Pro
ce
ss
. . .
. .
. . .
. .
. .
. .
. . .
14
-24
Cre
atin
g a
n O
nU
pda
teR
ecord
Event
Hand
ler .
14-2
4
Han
dlin
g C
ached
Update
Err
ors
.
.
. .
.
.
14-2
5
Refe
ren
cin
g t
he D
ata
set
to W
hic
h t
o A
pply
Up
da
tes. . .
. .
. . .
. .
. .
. .
. . .
14
-26
Indic
atin
g th
e T
ype o
f U
pd
ate
tha
t G
enera
ted a
n
Err
or
. . .
. .
. . .
. .
. .
. .
. .
. .
14
-26
Specifyin
g the A
ction t
o T
ake
.
.
. .
.
.
14-2
7
Chapte
r 15
Un
ders
tan
din
g D
ata
sets
Wha
t is
TD
ata
Se
t? .
. . .
. .
. .
. .
. . .
. 1
5-2
Op
enin
g a
nd
Clo
sin
g D
ata
se
ts . .
. .
. . .
. 1
5-2
Dete
rmin
ing a
nd
Se
ttin
g D
ata
se
t S
tate
s
. . .
15
-3
Deactivating a
Data
set. .
. . . .
. .
. . .
15
-5
Bro
wsin
g a
Da
tase
t . .
. .
. .
. .
. . . . 1
5-6
Enab
ling
Da
tase
t E
ditin
g. .
. .
. .
. . .
. 1
5-6
Enab
ling
Insert
ion
of N
ew
Re
cord
s
. .
.
. 1
5-7
Ca
lcu
latin
g F
ield
s . .
. .
. .
. .
. .
. . .
15
-8
Up
da
tin
g R
eco
rds . .
. .
. .
. .
. .
. . .
15
-8
Na
vig
atin
g D
ata
se
ts.
. . .
. .
. .
. .
. . .
. 1
5-8
Se
arc
hin
g D
ata
se
ts . . .
. .
. .
. .
. .
. . .
15
-9
Mo
difyin
g D
ata
.
. .
. . .
. .
. .
. . . . .
. 1
5-9
Usin
g D
ata
se
t E
ve
nts
. . .
. .
. .
. .
. . .
. 1
5-9
Ab
ort
ing
a M
eth
od
. . .
. .
. .
. .
. . .
. 1
5-9
Usin
g O
nC
alc
Fie
lds
. .
. .
. .
. .
. . . 1
5-1
0
Usin
g C
ached U
pdate
s .
. .
. .
.
.
. .
.
.
15-1
0
Chapte
r 16
Wo
rkin
g w
ith
Qu
eri
es
Qu
eries f
or
deskto
p d
evelo
pers
. .
.
.
. .
.
. 1
6-1
Queries f
or
serv
er
develo
pers
. . . .
. .
. . .
16
-2
Whe
n to
use
TIB
Data
Set, T
IBQ
uery
, an
d T
IBS
QL
16-3
Usin
g a
query
co
mp
one
nt: a
n o
ve
rvie
w.
. .
. 1
6-3
Specifyin
g the S
QL s
tate
men
t to
execute
. . .
16
-4
Specifyin
g the S
QL p
rope
rty a
t de
sig
n t
ime
16
-5
Specifyin
g a
SQ
L s
tate
men
t at ru
ntim
e .
. 1
6-6
Settin
g t
he S
QL p
rop
ert
y d
irectly .
.
. .
16
-6
Loa
din
g the
SQ
L p
rope
rty f
rom
a f
ile . .
16
-7
Loa
din
g the
SQ
L p
rope
rty f
rom
str
ing lis
t
ob
ject
. .
. .
. . .
. .
. .
. .
. . .
. 1
6-7
Se
ttin
g p
ara
me
ters
.
. . .
. .
. .
. .
. . .
. 1
6-7
Supp
lyin
g p
ara
mete
rs a
t desig
n t
ime
.
. .
16
-8
Su
pp
lyin
g p
ara
me
ters
at ru
ntim
e. .
. . .
. 1
6-9
Usin
g a
data
sou
rce to b
ind p
ara
me
ters
.
16-1
0
Exe
cu
tin
g a
qu
ery
. . . .
. .
. .
. .
. .
. .
16
-12
Executing
a q
uery
at
de
sig
n t
ime
.
. .
. .1
6-1
2
Executing
a q
uery
at ru
ntim
e
. .
. . .
. .1
6-1
2
Executing
a q
uery
tha
t re
turn
s a
result s
et. .
16
-13
Executing
a q
uery
without
a r
esult s
et .
16
-13
Pre
pa
rin
g a
qu
ery
. . .
. .
. .
. .
. . .
. .1
6-1
3
Unp
reparin
g a
query
to r
ele
ase
reso
urc
es
. .1
6-1
4
Imp
rovin
g q
uery
perf
orm
ance
. .
. .
. . .
. .1
6-1
4
Dis
ablin
g b
i-dire
ctio
nal curs
ors
. .
. . .
.16
-14
Work
ing
with
re
su
lt s
ets
. .
. .
. .
. .
. . .
.16
-15
Upd
ating a
read
-only
result s
et
.
. .
.
. .1
6-1
5
Chapte
r 17
Wo
rkin
g w
ith
Tab
les
Usin
g tab
le c
om
po
ne
nts
. .
. .
. .
. . .
. .
17
-1
Settin
g u
p a
table
co
mp
onen
t. .
.
. .
.
. . .
17-1
Sp
ecifyin
g a
ta
ble
na
me
. . .
. .
. . .
. .
17
-2
Op
enin
g a
nd
clo
sin
g a
table
. .
.
.
. . .
.
17-3
Con
trolli
ng r
ead/w
rite
access t
o a
table
. . .
.
17-4
Se
arc
hin
g f
or
reco
rds
. .
. .
. .
. .
. . .
. .
17
-4
So
rtin
g r
eco
rds
. .
. . .
. .
. .
. .
. . .
. .
17
-4
Retr
ievin
g a
lis
t o
f availa
ble
ind
exes w
ith
Ge
tIn
de
xN
am
es
. . .
. .
. .
. .
. . .
.
17
-5
Specifyin
g a
n a
ltern
ative
index w
ith I
ndexN
am
e
17
-5
Specifyin
g s
ort
ord
er
for
SQ
L ta
ble
s.
. .
.
17-5
Specifyin
g fie
lds w
ith I
ndexF
ield
Nam
es
.
. .
17-5
Exam
inin
g t
he f
ield
lis
t fo
r an
inde
x .
.
. .
17-6
Work
ing
with
a s
ub
se
t of
data
. .
. .
. . .
. .
17-6
Dele
ting a
ll re
cord
s in a
tab
le. .
. .
. . .
. .
17-6
De
letin
g a
ta
ble
. .
. . .
. .
. .
. .
. . .
. .
17
-7
Re
na
min
g a
ta
ble
. . . .
. .
. .
. .
. . .
. .
17
-7
Cre
atin
g a
tab
le.
. .
. . .
. .
. .
. . . . .
.
17
-7
Synchro
niz
ing
table
s lin
ked
to t
he s
am
e d
ata
ba
se
tab
le. .
. . .
. .
. . .
. .
. .
. .
. . .
. .
17
-9
Cre
atin
g m
aste
r/de
tail
form
s . .
. .
. . .
. .1
7-1
0
Build
ing
an e
xam
ple
maste
r/deta
il fo
rm . .1
7-1
0
Chapte
r 18
Wo
rkin
g w
ith
Sto
red
Pro
ced
ure
sW
hen S
hou
ld Y
ou
use
Sto
red P
roced
ure
s?
.
18-2
Usin
g a
Sto
red
Pro
ce
du
re . .
. .
. .
. . . .
18
-3
Cre
atin
g a
Sto
red
Pro
ce
dure
Com
ponen
t .
18-3
Cre
atin
g a
Sto
red
Pro
ce
dure
. .
. . .
. .
18-4
Pre
pari
ng a
nd
Execu
ting a
Sto
red P
roce
dure
. .
18
-5
Usin
g S
tore
d P
roced
ure
s th
at R
etu
rn R
esult
Se
ts
. . .
. .
. . .
. .
. .
. .
. . .
. .
18
-6
Retr
ievin
g a
Result S
et w
ith
a T
IBQ
ue
ry1
8-6
xiv
Usin
g S
tore
d P
roced
ure
s t
hat
Re
turn
Da
ta
Usin
g P
ara
me
ters
. .
. .
. .
. .
. . .
. 1
8-7
Retr
ievin
g I
indiv
idual V
alu
es w
ith a
TIB
Qu
ery
18-7
Retr
ievin
g I
ndiv
idual V
alu
es w
ith a
TIB
Sto
red
Pro
c. .
. .
. .
. .
. .
. . .
18
-8
Usin
g S
tore
d P
roced
ure
s t
hat
Perf
orm
Action
s
on
Da
ta . .
. .
. . .
. .
. .
. .
. .
. . .
18
-8
Executing
an A
ction
Sto
red
Pro
ce
dure
with a
TIB
Qu
ery
.
. . .
. .
. .
. .
. .
. . .
18
-9
Executing
an
actio
n s
tore
d p
roced
ure
with a
TIB
Sto
red
Pro
c. .
. .
. .
. .
. .
. . .
18
-9
Und
ers
tan
din
g S
tore
d P
roced
ure
Para
mete
rs18-1
0
Usin
g In
pu
t P
ara
me
ters
. .
. .
. .
. . .
1
8-1
1
Usin
g O
utp
ut
Para
mete
rs . .
. .
. .
. .
18
-11
Usin
g Inp
ut/ou
tput P
ara
me
ters
. .
. .
. .
18-1
2
Usin
g the
Re
sult P
ara
me
ter .
. .
. .
. .
18-1
3
Acce
ssin
g P
ara
mete
rs a
t D
esig
n T
ime
.
18-1
3
Settin
g P
ara
mete
r In
form
atio
n a
t D
esig
n T
ime
18-1
3
Cre
atin
g P
ara
me
ters
at R
un
tim
e. .
. . .
18
-14
Vie
win
g P
ara
me
ter
Info
rmation a
t D
esig
n T
ime
. .
18
-15
Chapte
r 19
Deb
ug
gin
g w
ith
SQ
L M
on
ito
rB
uild
ing
a S
imp
le M
onitorin
g A
pplic
ation
. . .
19-1
Chapte
r 20
Wri
tin
g In
sta
llati
on
Wiz
ard
sIn
sta
llin
g
. .
.
. .
. . .
. .
. .
.
.
. .
.
. .
20-1
Definin
g t
he I
nsta
llation C
om
pon
ent.
.
. .
20-1
Se
ttin
g t
he
In
sta
llatio
n O
ptio
ns
. . .
. .
20
-2
Settin
g U
p t
he S
ourc
e a
nd D
estinatio
n
Dir
ecto
rie
s .
. . .
. .
. .
. .
. . . .
20
-3
Settin
g U
p t
he I
nsta
llation
Pro
gre
ss
Co
mp
on
en
ts . .
. .
. .
. .
. . .
. .
20
-3
Defin
ing t
he U
nin
sta
ll C
om
po
nent
.
. .
.
. .
20-4
Ind
ex
1
-
ix
1.1
Cha
pte
rs in
the
Develo
per
s G
uid
e..
.
. .1
-1
2.1
Ru
n D
ire
cto
ry F
iles
. . .
. .
. .
. . .
. .2
-9
4.1
Pro
s a
nd c
ons o
f apple
t de
velo
pm
ent .
4-2
4
4.2
Inte
rClie
nt exte
nsio
ns t
o J
DB
C .
.
. .
. 4
-26
4.3
Unsup
port
ed J
DB
C f
eatu
res
.
.
. .
.
. 4
-27
4.4
Inte
rClie
nt im
ple
menta
tion
of JD
BC
fea
ture
s
4-2
8
4.5
Inte
rBase
featu
res n
ot
supp
ort
ed b
y
Inte
rClie
nt.
. .
. . .
. .
. .
.
.
. . .
. 4
-29
4.6
Java S
QL
da
taty
pe
su
pport
. .
.
.
. . .
4-3
0
4.7
SQ
L to J
ava typ
e c
onvers
ions
. .
. . .
4-3
0
4.8
Java-t
o-S
QL
type c
onve
rsio
ns
. .
.
. .
4-3
1
4.9
Data
Sourc
e s
tanda
rd p
ropert
ies
.
. . .
4-3
2
4.1
0D
ata
Sourc
e E
xte
nde
d p
ropert
ies.
. .
. 4
-33
4.1
1M
eth
ods f
or
the
Sta
tem
ent a
nd
Pre
pare
dS
tate
men
t cla
sses
. .
.
.
. . .
4-3
8
4.1
2M
eth
ods a
nd
co
nstr
ucto
rs f
or
the
ne
w
Batc
hU
pd
ate
Exce
ption
cla
ss
.
. .
. . .
4-3
9
4.1
3B
lob
, C
lob,
an
d o
ther
rela
ted
AP
I In
terf
aces
4-4
1
6.1
Mic
rosoft C
com
pile
r options
.
. .
. . .
.6
-6
6.2
Arg
um
en
ts t
o D
EC
LA
RE
EX
TE
RN
AL
FU
NC
TIO
N . .
. . .
. .
. .
. .
. . .
. .6
-8
6.3
Expla
nation o
f th
e s
tructu
re f
ield
s.
. .
. 6
-10
6.4
Exp
lan
atio
n o
f d
sc_
typ
e . .
. .
. . .
. 6
-11
6.5
Expla
nation o
f dsc_flag
s . .
. .
. . .
. 6
-12
6.6
Fie
lds in
th
e B
lob
str
uct. .
. .
. .
. . .
6-1
6
6.7
Fu
nction d
ecla
ration
s f
or
the
Inte
rBase
UD
F
libra
ry . .
. .
. . .
. .
. .
. .
. .
. . .
6-1
8
7.1
Da
ta D
ictio
na
ry in
terf
ace
.
. .
. . .
. .
. 7
-4
10.1
TIB
Data
baseIn
fo d
ata
ba
se
ch
ara
cte
ristic
pro
pe
rtie
s.
. .
. . .
. .
. .
. .
. . .
.
10
-6
10.2
TIB
Data
baseIn
fo e
nviron
menta
l
chara
cte
ristic p
rop
ert
ies
. .
. .
. . .
.
10-6
10.3
TIB
Data
Ba
se
Info
pe
rfo
rma
nce p
rope
rtie
s . .
10
-7
10.4
TIB
Data
baseIn
fo d
ata
ba
se
opera
tio
n c
ount
pro
pe
rtie
s.
. .
. . .
. .
. .
. .
. . .
.
10
-8
12.1
Data
base s
hutd
ow
n m
od
es. .
.
. .
. .
12-4
12.2
Com
mon
ba
ckup a
nd
resto
re p
ropert
ies 1
2-8
12
.3T
IBB
acku
pS
erv
ice
op
tio
ns
.
. .
. . .
.
12
-9
12.4
TIB
Resto
reS
erv
ice o
ption
s. .
. . .
. .1
2-1
2
12.5
TIB
Valid
ation
Serv
ice o
ptio
ns
. .
.
. .
.12
-15
12.6
TIB
Valid
ation
Serv
ice a
ctions .
.
. .
. .1
2-1
7
12
.7T
IBS
tatistica
lSe
rvic
e o
ptio
ns .
. . .
. .1
2-1
8
12.8
TIB
Securi
tyS
erv
ice
pro
pert
ies
.
. . .
.12
-20
14.1
TIB
Update
Record
Type v
alu
es
.
. . .
.
14-9
14.2
Retu
rn v
alu
es f
or
Up
date
Sta
tus
.
. .
.14
-11
14
.3U
pd
ate
Kin
d v
alu
es
. . .
. .
. .
. . .
.14
-26
14
.4U
pd
ate
Actio
n v
alu
es
. . .
. .
. . .
. .1
4-2
7
15.1
Valu
es for
the d
ata
set
Sta
te p
rop
ert
y.
.
15
-3
15
.2D
ata
se
t e
ve
nts
. . .
. .
. .
. .
. . .
.
15
-9
15.3
Pro
pe
rtie
s,
even
ts, a
nd m
eth
ods f
or
ca
ch
ed
up
da
tes
. . .
. . .
. .
. .
. .
. . . . .1
5-1
1
20
.1T
IBIn
sta
ll p
rop
ert
ies
. .
. .
. .
. . .
.
20
-1
20
.2T
IBIn
sta
ll o
ptio
ns
. .
. .
. .
. .
. . .
.
20
-2
Tab
les
x
-
ix
2.1
Basic
clie
nt/serv
er
rela
tionship
. .
. . .
.2
-2
2.2
Role
of th
e I
nte
rBase c
lien
t lib
rary
. .
.
. .2
-3
2.3
Inte
rBa
se T
oG
o e
mb
edde
d in a
data
ba
se
ap
plic
atio
n . .
. . .
. .
. .
. .
. . . . .
.2
-7
4.1
Co
nn
ectio
n d
ialo
g .
. .
. .
. .
. .
. . .
.4
-2
4.2
Inte
rClie
nt arc
hite
ctu
re. .
. .
.
.
. .
.
. .4
-7
4.3
JD
BC
in
terf
ace
s . . .
. .
. .
. .
. . .
. .4
-9
4.4
Usin
g a
pple
ts t
o a
cce
ss Inte
rBase
. .
.
. 4
-23
4.5
Usin
g s
tand
alo
ne J
ava a
pp
licatio
ns to a
ccess
Inte
rBa
se
.
. .
. . .
. .
. .
. .
. . .
. 4
-25
7.1
User-
inte
rface t
o d
ata
set co
nne
ctio
ns in a
ll
data
ba
se a
pplic
ation
s .
. .
.
.
. .
.
. . .
7-7
7.2
Sin
gle
-tie
red
data
base a
pplic
ation
arc
hite
ctu
re .
. . .
. .
. .
. .
. .
. . .
.7
-8
7.3
Tw
o-t
iere
d d
ata
base a
pp
lication
arc
hitectu
re .
7-8
7.4
Multi-tiere
d d
ata
base a
rchite
ctu
res
. .
. .
7-9
12.1
Inte
rBase s
erv
ice c
om
pon
ent h
iera
rch
y.
12-2
15.1
Inte
rBase d
ata
ba
se c
om
pone
nt da
taset
hie
rarc
hy
.
. .
. . .
. .
. .
. .
. . .
.
15
-1
15.2
Rela
tionsh
ip o
f In
active
an
d B
row
se s
tate
s . .
15
-5
15.3
Rela
tionsh
ip o
f B
row
se t
o o
the
r data
set
sta
tes
15
-6
16.1
Sam
ple
maste
r/deta
il q
uery
fo
rm a
nd
data
mo
du
le a
t d
esig
n tim
e. .
. .
. .
. . .
.16-1
1
Fig
ure
s
x
-
Ch
ap
ter
1U
sin
g t
he
In
terB
ase
De
ve
lop
ers
Gu
ide
1-1
Ch
ap
te
r
Chap
ter 1U
sin
g th
e In
terB
ase
Develo
per
sG
uid
e
The
In
terB
ase
De
ve
lop
er
s G
uid
e fo
cuses o
n th
e n
eed
s o
f d
eve
lope
rs w
ho
use
the
th
e d
eve
lop
men
t to
ols
: D
elp
hi, C
++
Bu
ilde
r, a
nd
JB
uild
er.
It
assu
mes a
ge
nera
l fa
mili
ari
ty w
ith
SQ
L, da
ta d
efin
itio
n, d
ata
man
ipu
lation
, a
nd
pro
gra
mm
ing p
ractice.
No
teF
or
ad
ditio
na
l in
form
atio
n a
nd s
up
po
rt o
n E
mb
arc
ade
ros
pro
du
cts
, p
lea
se
re
fer
to
the E
mba
rcad
ero
we
b s
ite
at
htt
p:/
/ww
w.e
mba
rcad
ero
.co
m.
To
pic
s c
overe
d in
th
is b
oo
k
The
fo
llow
ing
ta
ble
lis
ts the
cha
pte
rs in
th
e D
evelo
per
s G
uid
e a
nd
pro
vid
es a
brie
f de
scrip
tio
n o
f ea
ch
one
:
Ta
ble
1.1
Ch
ap
ters
in
th
e D
eve
lop
er
s G
uid
e.
Ch
ap
ter
De
sc
rip
tio
n
Ch
ap
ter
1, U
sin
g t
he I
nte
rBase
D
ev
elo
per
sG
uid
e
Inte
nde
d a
udie
nce a
nd c
overa
ge
Ch
ap
ter
2, C
lie
nt/
Serv
er
Co
ncep
ts
Arc
hitectu
re o
f clie
nt/
serv
er
syste
ms u
sin
g
Inte
rBase, in
clu
din
g t
he d
efin
itio
n o
f clie
nt and
serv
er,
and o
ptio
ns for
app
licatio
n d
evelo
pm
ent
Ch
ap
ter
3, P
rog
ram
min
g
Ap
plic
ati
on
s w
ith
Delp
hio
rC
++
B
uil
de
r
Pro
gra
mm
ing Inte
rBase
applic
ations u
sin
g the
D
ata
base E
ngin
e (
BD
E)
with D
elp
hi an
d C
++
B
uild
er
Ch
ap
ter
4, P
rog
ram
min
g w
ith
JD
BC
B
uild
ing
Inte
rBase a
pp
lication
s u
sin
g In
terC
lien
t,
Inte
rServ
er,
an
d J
Bu
ilde
r
Ch
ap
ter
1U
sin
g t
he
In
terB
ase
De
ve
lop
ers
Gu
ide
1-2
To
pic
s c
ove
red
in
this
bo
ok
Ch
ap
ter
5:
P
rog
ram
min
g
Ap
plic
ati
on
s w
ith
OD
BC
P
rogra
mm
ing In
terB
ase a
pp
lication
s w
ith O
DB
C
and
OLE
DB
; pro
gra
mm
ing w
ith t
he O
DB
C
drive
r an
d c
onfiguri
ng a
nd
usin
g O
DB
C d
ata
sourc
es
Ch
ap
ter
6, W
ork
ing
wit
h U
DF
s
an
dB
lob
Filte
rs
Wo
rkin
g w
ith U
DF
s: U
DF
lib
rari
es, de
cla
ring
the
fu
nction
s to th
e d
ata
ba
se
, calli
ng
the f
unction
s;
work
ing w
ith B
lob f
ilters
Ch
ap
ter
7:
D
esig
nin
g D
ata
base
A
pp
lic
ati
on
s
Desig
nin
g a
data
ba
se
applic
ation,
inclu
din
g the
decis
ions invo
lved in
de
sig
nin
g a
user
inte
rface,
how
to u
se d
ata
bases, a
nd d
ata
base
arc
hitectu
re
Ch
ap
ter
8:
B
uild
ing
Mu
lti-
tie
red
Ap
plicati
on
s
Und
ers
tandin
g t
he e
lem
en
ts o
f a
data
base
app
licatio
n, in
clu
din
g d
ata
se
ts a
nd
tra
nsa
ctio
ns
Ch
ap
ter
9:
In
tro
du
cti
on
to
IB
X
Usin
g Inte
rBase
Expre
ss (
IBX
) data
access
com
pon
ents
Ch
ap
ter
10:
C
on
nec
tin
g t
o
Data
base
s
Data
base c
om
pon
ents
and h
ow
to m
anip
ula
te
data
base c
onn
ections
Ch
ap
ter
11:
Im
po
rtin
g a
nd
Exp
ort
ing
D
ata
U
sin
g IB
X c
om
pone
nts
to
mig
rate
data
to a
nd
fro
m a
da
tabase
Ch
ap
ter
12:
W
ork
ing
wit
h I
nte
rBase
Serv
ices
Build
ing
Inte
rBase
serv
ice
s in
to y
ou
r app
licatio
ns
Ch
ap
ter
13:
P
rog
ram
min
g w
ith
D
ata
base
Eve
nts
U
sin
g a
n I
BX
TIB
Events
co
mp
onen
t to
ma
nag
e
Inte
rBase s
erv
er
events
Ch
ap
ter
14:
W
ork
ing
wit
h C
ach
ed
U
pd
ate
s
Wo
rkin
g w
ith c
ache
d u
pda
tes,
and
usin
g t
he
TIB
Upd
ate
SQ
L c
om
ponen
t to
upda
te d
ata
sets
Ch
ap
ter
15:
U
nd
ers
tan
din
g
Data
sets
W
ork
ing w
ith d
ata
se
ts a
nd
TD
ata
Set
Ch
ap
ter
17:
W
ork
ing
wit
h T
ab
les
Wo
rkin
g w
ith ta
ble
s a
nd T
IBT
able
Ch
ap
ter
16:
W
ork
ing
wit
h Q
ueri
es
B
uild
ing
querie
s w
ith
TIB
Data
Se
t a
nd
T
IBQ
ue
ry
Ch
ap
ter
18:
W
ork
ing
wit
h S
tore
d
Pro
ced
ure
s
Usin
g Inte
rBase
sto
red p
roce
dure
s in
you
r data
base a
pp
licatio
ns
Ch
ap
ter
19:
D
eb
ug
gin
g w
ith
SQ
L
Mo
nit
or
Usin
g T
IBS
QL
Mo
nito
r to
monitor
the d
yna
mic
S
QL
passin
g thro
ugh th
e In
terB
ase
se
rve
r
Ch
ap
ter
20:
W
riti
ng
In
sta
llati
on
W
iza
rds
Usin
g T
IBS
etu
p,T
IBIn
sta
ll, a
nd
TIB
Unin
sta
ll to
build
an
Inte
rBase insta
llation
pro
gra
m
Ta
ble
1.1
Ch
ap
ters
in
th
e D
eve
lop
er
s G
uid
e.
Ch
ap
ter
De
sc
rip
tio
n
-
Ch
apte
r 2
Clie
nt/S
erv
er
Co
ncepts
2-1
Ch
ap
te
r
Chap
ter 2C
lien
t/S
erv
er
Co
ncep
ts
Th
is c
ha
pte
r d
escri
be
s t
he
arc
hite
ctu
re o
f clie
nt/
se
rve
r syste
ms u
sin
g I
nte
rBa
se
. T
he
ch
apte
r co
ve
rs t
opic
s in
clu
din
g t
he
de
fin
itio
n o
f a
nd
Inte
rBase c
lien
t an
d
se
rve
r, a
nd
option
s f
or
ap
plic
atio
n d
eve
lopm
ent.
Defi
nit
ion
of
a C
lien
t
An
In
terB
ase
clie
nt
is a
n a
pplic
atio
n,
typic
ally
wri
tte
n in
C,
C+
+,
De
lph
i o
r Ja
va
, th
at
acce
sse
s d
ata
in a
n I
nte
rBase d
ata
ba
se.
In t
he
more
ge
nera
l case,
an I
nte
rBa
se
clie
nt
is a
ny a
pplic
atio
n p
roce
ss t
ha
t uses
the I
nte
rBa
se
clie
nt
libra
ry,
dir
ectly o
r via
a m
iddle
wa
re in
terf
ace
, to
esta
blis
h a
co
mm
unic
ation
cha
nn
el to
an I
nte
rBa
se
se
rver.
Th
e c
on
nection
can
be
local if t
he
ap
plic
ation
exe
cu
tes o
n t
he s
am
e n
ode
as t
he
Inte
rBase s
erv
er,
or
rem
ote
if
the
ap
plic
ation
mu
st
use a
ne
two
rk t
o c
on
ne
ct
to t
he
In
terB
ase
serv
er.
Ch
apte
r 2
Clie
nt/S
erv
er
Co
ncepts
2-2
Th
e I
nte
rBa
se
Clie
nt L
ibra
ry
Fig
ure
2.1
Ba
sic
clie
nt/
se
rve
r re
latio
nsh
ip
Inte
rBa
se
is d
esig
ne
d t
o a
llow
clie
nts
to
access a
n I
nte
rBa
se
se
rver
on a
pla
tfo
rm
an
d o
pe
ratin
g s
yste
m d
iffe
rent
from
the
clie
nts p
latfo
rm a
nd
op
era
ting
syste
m.
Th
e In
terB
ase C
lien
t L
ibra
ry
The
In
terB
ase
clie
nt
libra
ry p
rovid
es f
un
ctio
ns t
ha
t d
evelo
pers
of
clie
nt
ap
plic
ation
s u
se t
o initia
te c
on
nection
s t
o a
se
rve
r a
nd
to
pro
gra
mm
atica
lly
pe
rfo
rm d
ata
ba
se
op
era
tio
ns.
Th
e lib
rary
use
s th
e o