<%@page language="java" import="java.sql.*"%> <% Driver DriverRecordset1 = (Driver)Class.forName("").newInstance(); Connection ConnRecordset1 = DriverManager.getConnection("dsn=sybaseatwork;uid=ntv;pwd=dnb4tm;","ntv","dnb4tm"); PreparedStatement StatementRecordset1 = ConnRecordset1.prepareCall("SELECT * FROM dbo.attribute_lifetimes"); StatementRecordset1.setQueryTimeout(0); ResultSet Recordset1 = StatementRecordset1.executeQuery(); boolean Recordset1_isEmpty = !Recordset1.next(); boolean Recordset1_hasData = !Recordset1_isEmpty; int Recordset1_numRows = 0; %> Untitled Document

 

Testpage

go search

<% Recordset1.close(); ConnRecordset1.close(); %>