Dear All,
We want some calculation process with sql queries and we will use in mail alert or snmp traps. So we coded stored procedure, that sp returns what we want when run in the ssms. But i cant call "exec" command in the Alerts > "Insert Variable" area.
If we do calculate with select command, its not will be usable and editable. We have to define in one function and call it every time when we need.
So, please give us to some guidance.
Sorry for grammar