5 public static void main( String argv
[] )
10 Class
.forName("csql.jdbc.JdbcSqlDriver");
13 Connection con
= DriverManager
.getConnection("jdbc:csql", "root", "manager");
16 Statement stmt
= con
.createStatement();
17 boolean rc
= stmt
.execute( "INSERT INTO t1 (f1, f2) values (2,3)" );
18 rc
= stmt
.execute( "INSERT INTO t1 (f1, f2) values (31,80)" );
19 rc
= stmt
.execute( "INSERT INTO t1 (f1, f2) values (722,9)" );
23 // Disconnect from CSQL
26 } catch(Exception e
) {
27 System
.out
.println("insertT1: " + e
);