"Surgery
After all other treatments have been tried, adjusted for individual circumstances, and still found to be ineffective, surgical treatment for excessive sweating may be an option considered by your physician. There are a number of different types of surgery that are sometimes used to treat hyperhidrosis. These include local surgical procedures that remove the sweat glands and endoscopic thoracic sympathectomy (ETS). ETS, in particular, is considered a last resort because it frequently causes serious, irreversible compensatory sweating. And in fact, most physicians do not recommend ETS surgery because of the serious negative side effects of the procedure."
http://www.sweathelp.org/English/PFF_Treatment_Surgery.asp