// Assign the user submitted ID to the client object as properties client.uid = request.uid; // Open a connection var myConn = database.connect("ORACLE", "mySID", "myApp", "appsPWD", "myTNS"); if(myConn.connected()){ // Start a new transaction and write the results to a page, formatting // them with the SQLTable method. myConn.beginTransaction(); write(myConn.SQLTable('SELECT * FROM employees WHERE uid >= ' + client.uid)); // Commit the transaction myConn.commitTransaction(); // If the connection fails, write an error message }else{ write('Error (' + myConn.majorErrorCode() + '): ' + myConn.majorErrorMessage); }