It does not matter from where the click originated - so Outlook is irrelevant. The target page is the one that have to be able to communicate with SQL (maybe according to some parameters form the original link).
For that you have an immense amount of resources on the web - start searching Google...
asp.net access database[
^]