2 #create table T1 with 10 fields,
3 #insert 10 rows into the table ,
4 #noofprojFields shoul dreturn 10.
5 #call fetch and count the record.
7 CSQL_CONF
=${PWD}/adapter
/Select
/csql.conf
11 REL_PATH
=${PWD}/adapter
/Select
15 cp $REL_PATH/csql.conf
/tmp
/csql.conf
16 echo CSQL_SQL_SERVER
=true
>>/tmp
/csql.conf
17 #echo PORT= >>/tmp/csql.conf
18 export CSQL_CONFIG_FILE
=/tmp
/csql.conf
21 echo DSN
=$DSN >>$CSQL_CONFIG_FILE
24 echo TARGET_DATABASE
=postgres
>>$CSQL_CONFIG_FILE
26 echo TARGET_DATABASE
=mysql
>>$CSQL_CONFIG_FILE
30 echo DSN
=$DSN >>$CSQL_CONFIG_FILE
31 echo DBUSER
=$DBUSER >>$CSQL_CONFIG_FILE
32 echo PASSWORD
=$PASSWORD >>$CSQL_CONFIG_FILE
33 echo TARGET_DATABASE
=oracle
>>$CSQL_CONFIG_FILE
34 DS
="$DSN $DBUSER $PASSWORD"
37 $CSQL_INSTALL_ROOT/bin
/csqlsqlserver
>/dev
/null
2>&1 &
40 ${REL_PATH}/selecttest1na