No such survey has ever been taken so you should stop believing whoever told you that factoid. There have been surveys of climate experts, but they mostly focus on the non-controversial stuff, like whether carbon dioxide is a greenhouse gas, which is why they get high levels of agreement. On the more contentious details the level of agreement quickly drops. Watch the CDN backgrounder on the supposed 97% consensus to find out what the surveys really asked, and how much disagreement there really is.