~burner/xsb/debianized-xsb

« back to all changes in this revision

Viewing changes to emu/orastuff/desc_bv_xsb_i.h

  • Committer: Michael R. Head
  • Date: 2006-09-06 22:11:55 UTC
  • Revision ID: burner@n23-20060906221155-7e398d23438a7ee4
Add the files from the 3.0.1 release package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  -*-c-*-  Make sure this file comes up in the C mode of emacs */ 
 
2
/* File:      desc_bv.i
 
3
** Author(s): Ernie Johnson
 
4
** Contact:   xsb-contact@cs.sunysb.edu
 
5
** 
 
6
** Copyright (C) The Research Foundation of SUNY, 1997-1998
 
7
** 
 
8
** XSB is free software; you can redistribute it and/or modify it under the
 
9
** terms of the GNU Library General Public License as published by the Free
 
10
** Software Foundation; either version 2 of the License, or (at your option)
 
11
** any later version.
 
12
** 
 
13
** XSB is distributed in the hope that it will be useful, but WITHOUT ANY
 
14
** WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 
15
** FOR A PARTICULAR PURPOSE.  See the GNU Library General Public License for
 
16
** more details.
 
17
** 
 
18
** You should have received a copy of the GNU Library General Public License
 
19
** along with XSB; if not, write to the Free Software Foundation,
 
20
** Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
21
**
 
22
** $Id: desc_bv_xsb_i.h,v 1.2 2000/10/02 15:32:23 ejohnson Exp $
 
23
** 
 
24
*/
 
25
 
 
26
/*
 
27
 * DESCRIBE the SQL Statement's Bind Variables
 
28
 * -------------------------------------------
 
29
 *  Initilizes the bind descriptor after examining the placeholders in
 
30
 *  the PREPAREd dynamic SQL statement to determine the name(s) and
 
31
 *  length(s) of the placeholders, as well as the data type of the
 
32
 *  associated input host variable(s).
 
33
 */
 
34
 
 
35
  switch (cursorHandle) {
 
36
  case 0:
 
37
    EXEC SQL DESCRIBE BIND VARIABLES FOR S0 INTO DESCRIPTOR descriptor;
 
38
    break;
 
39
  case 1:
 
40
    EXEC SQL DESCRIBE BIND VARIABLES FOR S1 INTO DESCRIPTOR descriptor;
 
41
    break;
 
42
  case 2:
 
43
    EXEC SQL DESCRIBE BIND VARIABLES FOR S2 INTO DESCRIPTOR descriptor;
 
44
    break;
 
45
  case 3:
 
46
    EXEC SQL DESCRIBE BIND VARIABLES FOR S3 INTO DESCRIPTOR descriptor;
 
47
    break;
 
48
  case 4:
 
49
    EXEC SQL DESCRIBE BIND VARIABLES FOR S4 INTO DESCRIPTOR descriptor;
 
50
    break;
 
51
  case 5:
 
52
    EXEC SQL DESCRIBE BIND VARIABLES FOR S5 INTO DESCRIPTOR descriptor;
 
53
    break;
 
54
  case 6:
 
55
    EXEC SQL DESCRIBE BIND VARIABLES FOR S6 INTO DESCRIPTOR descriptor;
 
56
    break;
 
57
  case 7:
 
58
    EXEC SQL DESCRIBE BIND VARIABLES FOR S7 INTO DESCRIPTOR descriptor;
 
59
    break;
 
60
  case 8:
 
61
    EXEC SQL DESCRIBE BIND VARIABLES FOR S8 INTO DESCRIPTOR descriptor;
 
62
    break;
 
63
  case 9:
 
64
    EXEC SQL DESCRIBE BIND VARIABLES FOR S9 INTO DESCRIPTOR descriptor;
 
65
    break;
 
66
  case 10:
 
67
    EXEC SQL DESCRIBE BIND VARIABLES FOR S10 INTO DESCRIPTOR descriptor;
 
68
    break;
 
69
  case 11:
 
70
    EXEC SQL DESCRIBE BIND VARIABLES FOR S11 INTO DESCRIPTOR descriptor;
 
71
    break;
 
72
  case 12:
 
73
    EXEC SQL DESCRIBE BIND VARIABLES FOR S12 INTO DESCRIPTOR descriptor;
 
74
    break;
 
75
  case 13:
 
76
    EXEC SQL DESCRIBE BIND VARIABLES FOR S13 INTO DESCRIPTOR descriptor;
 
77
    break;
 
78
  case 14:
 
79
    EXEC SQL DESCRIBE BIND VARIABLES FOR S14 INTO DESCRIPTOR descriptor;
 
80
    break;
 
81
  case 15:
 
82
    EXEC SQL DESCRIBE BIND VARIABLES FOR S15 INTO DESCRIPTOR descriptor;
 
83
    break;
 
84
  case 16:
 
85
    EXEC SQL DESCRIBE BIND VARIABLES FOR S16 INTO DESCRIPTOR descriptor;
 
86
    break;
 
87
  case 17:
 
88
    EXEC SQL DESCRIBE BIND VARIABLES FOR S17 INTO DESCRIPTOR descriptor;
 
89
    break;
 
90
  case 18:
 
91
    EXEC SQL DESCRIBE BIND VARIABLES FOR S18 INTO DESCRIPTOR descriptor;
 
92
    break;
 
93
  case 19:
 
94
    EXEC SQL DESCRIBE BIND VARIABLES FOR S19 INTO DESCRIPTOR descriptor;
 
95
    break;
 
96
  case 20:
 
97
    EXEC SQL DESCRIBE BIND VARIABLES FOR S20 INTO DESCRIPTOR descriptor;
 
98
    break;
 
99
  }