1) exceute a select * SQL command2) get field names and info by getmetadata on resultset3) crate "create table" statement from metadata4) iterate result set and craate insertstatementsadd result of 3,4 to your dump file