db.getDriver().getDDLScript(DBCmdType.CREATE, C_FOO, script);
script.run(db.getDriver(), conn, false);
// Now load a record from that table and set the value for foo
System.out.println("Changing the value for the FOO field of a particular employee:");
DBRecord rec = new DBRecord();
rec.read(db.T_EMPLOYEES, idTestPerson, conn);
rec.setValue(C_FOO, "Hello World");
rec.update(conn);
// Now extend the size of the field from 20 to 40 characters
System.out.println("Extending size of column FOO to 40 characters:");
C_FOO.setSize(40);
script.clear();
db.getDriver().getDDLScript(DBCmdType.ALTER, C_FOO, script);
script.run(db.getDriver(), conn, false);
// Now set a longer value for the record
System.out.println("Changing the value for the FOO field for the above employee to a longer string:");
rec.setValue(C_FOO, "This is a very long field value!");
rec.update(conn);
// Finally, drop the column again
System.out.println("Dropping the FOO column from the employee table:");
script.clear();
db.getDriver().getDDLScript(DBCmdType.DROP, C_FOO, script);