i want to get records from msaccess when the pin number start from 'twt000'. I am using one variable name is pinnumber to store the value.
String pinnumber='twt000'
how to fetch records from msaccess database.
pst=con2.prepareStatement("Select * from pin_numbers where pin_number like '?*'");
pst.setString(1,pin);
rs2=pst.executeQuery();
Please any one help me.