Attempts are currently being made to move the whale so that an autopsy can take place.
Vet Andrew Brownlow said it would take most of the day to examine the animal to establish how it died.
A digger will then bury the animal close to the beach.
More top news
A look ahead at the forecast for the Border region.
The two lucky winners beat 1,800 other entries from schools around the county.
A 17-year-old girl, who was about to start her first driving lesson, was rushed to hospital following a car accident.