They are equivalent. I can't speak for American English but certainly in British Engiish the verb 'have' is used an enormous amount (have a beer, have a bath, have an argument, have a nap, have a go (attempt), have a good time) and the first sentence would probably be used slightly more. Nothing wrong with (machachi's corrected) second sentence though.