1 ----------------------------------README---------------------------------------
2 This contains an example program that demonstates usage of sqlapi interface.
6 It creates table t1 with two fields f1 integer and f2 string.
7 Creates index on f1 field of t1 table.
8 Inserts 100 rows into the table t1, 1 insert per transaction
9 select rows with f1 value 1 to 10 and displays
14 1. Make a copy of this directory in a writable area
15 2. Edit the Makefile and set the CPlus variable to point to the C++
16 compiler on your system.
17 3. Set the necessary enviroment variables using the setup script
18 under the csql root directory
20 4. Use the make command to compile
25 1. Set the necessary enviroment variables using the setup script
26 under the csql root directory
29 2. Run the executable created by make
32 Note: This also contains some additional examples which are referred from the user manual.
37 Index created on t1(f1)
38 Total Rows Inserted 100
39 Row value is 0 Gopika_0
40 Row value is 1 Gopika_1
41 Row value is 2 Gopika_2
42 Row value is 3 Gopika_3
43 Row value is 4 Gopika_4
44 Row value is 5 Gopika_5
45 Row value is 6 Gopika_6
46 Row value is 7 Gopika_7
47 Row value is 8 Gopika_8
48 Row value is 9 Gopika_9