Search:

Type: Posts; User: derick_ho

Search: Search took 0.11 seconds.

  1. Replies
    1
    Views
    1,183

    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. Replies
    1
    Views
    1,183

    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