C99999 format in java to be used in sql -


i have number format "c99999"

i need import sql

i try this

while (rs.next()){          int s=rs.getint("number");         s++;          string n = string.format("%05d",s);         view.txtcustomernumber.settext(n); 

how add "c" format , data type in mysql int

just use "c%05d" format string.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -