However it was Edinburgh who went into the break ahead thanks to a Laney try which he converted himself. The fly half side stepped Ally Warnock and then beat Simon Danielli for pace to give his side a 10-6 interval lead.
Edinburgh suffered a setback six minutes after the restart when prop Allan Jacobsen was ordered to the sin bin as referee Rob Dickson ruled he had used a fist in the middle of a ruck.
After a sustained spell of pressure, Hore reduced the leeway to a single point with his third penalty and took the lead when Warnock sent over a pinpoint drop goal.
In the tense final few minutes, Laney saw a drop goal attempt hit the post and then deep into stoppage time Tommy McGee secured the win as he crashed over for his sides first try - Hore's conversion ensuring that Edinburgh would leave without even a bonus point.
|The Borders Score Card|
|Edinburgh Rugby Score Card|