Please support us by disabling ad blocker for smarttutorials.net ...

How to find out Number of affected rows of MySQL update query in Java

In java executeUpdate() function of Preparedstatement returns integer which gives numbers of rows affected for particular MySQL updation………. Here is the simple code how to access number of affected rows  MySQL UPDATE query in Java……….. statement=connection.prepareStatement(“UPDATE login SET user_name ='”+userName+”‘ WHERE id =”+userID+””); int….. Read More >>>>



find rank of the player from mysql table

Mostly in games we have a requirement like to find rank’s of the player in the last week or month. In MySQL there is no default MySQL function to find out rank’s of the player from the player table. To….. Read More >>>>

Get Instant Script Download Access!