Search:

Type: Posts; User: derick_ho

Search: Search took 0.28 seconds.

  1. Re: Required help about the resultset.last()

    i editted the code to bcome...


    String sql = "SELECT LAST(StaffId) FROM Staff WHERE StaffId LIKE 'S*';";
    try{
    rsStaffId = stmtQuery.executeQuery(sql);
    ...
  2. Required help about the resultset.last()

    i wanted to get the last staff id from database and generate the lastest staff id..
    but i cannot get the expected result..


    String sql = "SELECT StaffId FROM Staff WHERE StaffId LIKE 'S*';";
    ...
Results 1 to 2 of 2