The parameters are all String.
resultTableName is the table name for the create and insert statements. (SQL result sets do not specify a table name because they may be derived from joins or unions.)
columnPrefix is the prefix to use in generated column names, which are needed for unnamed columns in the result set.
goOption indicates whether the script is to include the go commands, which are required in isql, not in JDBC.
The method returns a SQL script with a create statement and a list of insert statements that create the result set data again.
For example, if rsx is a Java variable of type ResultSetXml:
rsx>>toSqlScript(“systypes_copy”, “column_”, “yes”)