1 ----------------------------------README---------------------------------------
2 This contains an example program that demonstates usage of dbapi interface.
5 It creates table t1 with two fields f1 integer and f2 string.
6 Creates hash index on f1 field of t1 table.
7 Inserts 10 rows into the table t1
8 select all rows which satisfy the condition f1 >=5 and displays
9 Delete all the rows in the table
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
28 2. Run the executable created by make
31 Note: This also contains some additional examples which are referred from the user manual.
37 Total rows inserted 10
38 Selection f1 >= 5 starts on table t1
45 Total Rows selected: 5