I'd opt to put the logic in the application, however if you are unable to do so, then the following will work. Note the space prefix before "Select All" to aid in the ORDER BY clause.
SELECT ' SELECT ALL' AS Column1
UNION ALL
SELECT Column1 FROM YourTable
ORDER BY Column1
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.