A Gary Mackay-Steven penalty was the difference between the sides at Dens Park to give Aberdeen all three points against Dundee and give the Dons their first league win of the season.
Aberdeen made one change form the side that started against The Rangers last weekend. Stevie May stepped in to replace the injured Scott McKenna.
Kharl Madianga had the first attempt on goal, after his attempt from 25 yards flew over the crossbar.
Mackay-Steven caused problems down the right flank for most of the game, and setup May, but his low drive was blocked by Nathan Ralph.
Aberdeen became more comfortable as they got into the came, with Andrew Considine nodding wide from a Niall McGinn cross.
May was unlucky not to score two minutes before the break in a packed penalty area, but Hamilton came to the rescue for Dundee.
Following the interval Dundee made an immediate change at half-time with Adil Nabi making his debut for Dundee in place of the injured Lewis Spence.
And it was Dundee who should have scored within two minutes of the second half starting. Josh Meekings somehow failed to convert from an Elton Ngwatala corner.
The Dons made their first change in the 56th minute with Bruce Anderson coming on for Sam Cosgrove.
The goal eventually came for the Dons, after Bobby Madden pointed to the spot after Dundee defender Genseric Kusunga was penalised for handball and Gary Mackay-Steven calmly slotted the ball into the net as he sent Dundee goalie, Hamilton the wrong way.
McGinn, went close to a second with a curling free kick that was inches too high towards the end of the match but it wasn’t to be.
It wasn’t a pretty affair, but Derek McInnes will be happy with the win given the injuries that have blighted the team of late.
Derek McInnes said after the match “I thought wee Bruce gave us a spark up front,”
“We introduced him at the right time.
“We definitely thought about starting him today. He is infectious and was just sitting there desperate to get on.
“He gave the defenders something different to think about when he came on. He chased everything, he was like a wasp. Sometimes it’s difficult for defenders to react to that added energy so Bruce for that reason became more effective as a sub today.
“What he is is a goalscorer. There’s no other thought than getting the ball out his feet and shooting when he hits the ball.
“I could do with more in the team expecting to score like him – and that goes throughout, whether it be centre-halves going up at corners or midfielders.
“I need more with that intent that I’m going to score today rather hoping to score.”