I quit drinking for 4 months back in 2013 and during that time I attended a wedding with an open bar. I had a lot of anxiety leading up to the event - mostly fearing what others would think because I wasn't drinking.
But nobody cared and I got through it fine. If your mind is made up that you do not want to drink, you won't.
I am not tempted to drink at all. I have worked too hard to get to where I am and I respect my sobriety too much to blow it all.