Stay out of the drink
In this profession, there are plenty of opportunities for socializing. In most cases, the socializing usually includes a fair amount of drinking. By all means, enjoy yourself and enjoy a cocktail at the party but only if you are well trained. For some reason, responsible social drinking is usually learned through the school of hard knocks. Don't take your hard knocks at your companies expense. Watch how much you drink and also watch how strong the drinks are. You might be fine after drinking two beers but after drinking two long islands, you might be staggering. If you start to feel "buzzed" while you are drinking in public switch to water and eat some food. If it happens that you do get drunk (or even close) call a cab and get out of there.
If you have ever had an alcohol problem of any sort, do not drink at work related social functions. It will be much easier on everybody that way.

