I have wrote mysql query to update column using mysql variable. Actually I\'m want to create the function, execute it and then drop the function for below q