// Create cursor var currRow = myConn.cursor('SELECT areacode FROM employees WHERE uid >= ' + client.uid); // Close the cursor currRow.close();