makeInsertPreparedStatement

fun makeInsertPreparedStatement(con: Connection, tableName: String, numColumns: Int, schemaName: String?): PreparedStatement

Return

a prepared statement that can perform the insert if given the appropriate column values

Parameters

con

an active connection to the database

tableName

the name of the table to be inserted into

numColumns

the number of columns starting from the left to insert into

schemaName

the schema containing the table