1)Added error check
a)If no particular fields are selected for updation,then throw SQL
Exception
b)IF no particular Search Criteria is mentioned for the updation then
throw SQL Exception