Is there any sql query to change/alter all the rows values at once otherwise I ll have to edit each row individually
Of course in SQL you can update all rows by one query ... use UPDATE (more info. http://en.wikipedia.org/wiki/Update_(SQL))