2
* $Header: /home/terralib/src/terralib/drivers/OracleSpatial/OCI/include/ocidem.h,v 1.3 2005/05/06 16:48:56 karine Exp $
5
/* Copyright (c) 1991, 1996, 1997, 1999 by Oracle Corporation */
6
/* Copyright (c) 1991, 1997, 1999 by Oracle Corporation */
9
ocidem.h - OCI demo header
11
whe 04/07/99 - bug#810071
12
whe 03/19/99 - lrg 32079 etc.: putting static back for oci_func_tab
13
nmacnaug 02/02/99 - static declarations should not be in header files
14
mygopala 09/22/97 - Fix for bug 550351
15
surman 03/14/97 - Merge 413362 to 8.0.3
16
surman 11/08/96 - 413362: Add SS_64BIT_SERVER macro
17
emendez 04/07/94 - merge changes from branch 1.6.710.1
18
emendez 02/02/94 - Fix for bug 157576
19
jnlee 01/05/93 - include oratypes.h once, make oci_func_tab static
20
rkooi2 10/26/92 - More portability mods
21
rkooi2 10/22/92 - Change text back to char to avoid casts
22
rkooi2 10/20/92 - Changes to make it portable
23
sjain 03/16/92 - Creation
29
* Declares additional functions and data structures
30
* used in the OCI C sample programs.
46
/* internal/external datatype codes */
47
#define VARCHAR2_TYPE 1
55
/* ORACLE error codes used in demonstration programs */
56
#define VAR_NOT_IN_LIST 1007
58
# define NO_DATA_FOUND 1403
60
#define NULL_VALUE_RETURNED 1405
62
/* some SQL and OCI function codes */
71
* OCI function code labels,
72
* corresponding to the fc numbers
73
* in the cursor data area.
75
static CONST text *oci_func_tab[] = {(text *) "not used",
76
/* 1-2 */ (text *) "not used", (text *) "OSQL",
77
/* 3-4 */ (text *) "not used", (text *) "OEXEC, OEXN",
78
/* 5-6 */ (text *) "not used", (text *) "OBIND",
79
/* 7-8 */ (text *) "not used", (text *) "ODEFIN",
80
/* 9-10 */ (text *) "not used", (text *) "ODSRBN",
81
/* 11-12 */ (text *) "not used", (text *) "OFETCH, OFEN",
82
/* 13-14 */ (text *) "not used", (text *) "OOPEN",
83
/* 15-16 */ (text *) "not used", (text *) "OCLOSE",
84
/* 17-18 */ (text *) "not used", (text *) "not used",
85
/* 19-20 */ (text *) "not used", (text *) "not used",
86
/* 21-22 */ (text *) "not used", (text *) "ODSC",
87
/* 23-24 */ (text *) "not used", (text *) "ONAME",
88
/* 25-26 */ (text *) "not used", (text *) "OSQL3",
89
/* 27-28 */ (text *) "not used", (text *) "OBNDRV",
90
/* 29-30 */ (text *) "not used", (text *) "OBNDRN",
91
/* 31-32 */ (text *) "not used", (text *) "not used",
92
/* 33-34 */ (text *) "not used", (text *) "OOPT",
93
/* 35-36 */ (text *) "not used", (text *) "not used",
94
/* 37-38 */ (text *) "not used", (text *) "not used",
95
/* 39-40 */ (text *) "not used", (text *) "not used",
96
/* 41-42 */ (text *) "not used", (text *) "not used",
97
/* 43-44 */ (text *) "not used", (text *) "not used",
98
/* 45-46 */ (text *) "not used", (text *) "not used",
99
/* 47-48 */ (text *) "not used", (text *) "not used",
100
/* 49-50 */ (text *) "not used", (text *) "not used",
101
/* 51-52 */ (text *) "not used", (text *) "OCAN",
102
/* 53-54 */ (text *) "not used", (text *) "OPARSE",
103
/* 55-56 */ (text *) "not used", (text *) "OEXFET",
104
/* 57-58 */ (text *) "not used", (text *) "OFLNG",
105
/* 59-60 */ (text *) "not used", (text *) "ODESCR",
106
/* 61-62 */ (text *) "not used", (text *) "OBNDRA",
107
/* 63-64 */ (text *) "OBINDPS", (text *) "ODEFINPS",
108
/* 65-66 */ (text *) "OGETPI", (text *) "OSETPI"