Example:
var stmt = "update orders set order_date = " + services.database.makeJDBCDateStringFromField(fields.orderDate) + " where order_id = " + orderId; services.database.executeGenericUpdateStatement("SAMPLES", stmt);
returns java.lang.String
Example: