Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
To run the SP: GetMailData 3040047,10,HOME,SMTP,3060 notice that I am not passing HOME and SMTP in quotes.. ALTER PROCEDURE [dbo].[GetMailData] @EntNo int/* IN must - entity Number*/, @rttiTypeID int/* IN must - entity type*/, @addrTypeID varchar(4)/* IN optional, address type Id (Home, Offc, etc.)*/, @corrMethID varchar(4)/* IN optional, correspondence method ID*/, @docGroupNo int/* IN must - document group number*/ WITH RECOMPILE