Convert a SQL query result table to an HTML table for email
I made a dynamic proc which turns any random query into an HTML table, so you don’t have to hardcode columns like in the other responses. — Description: Turns a query into a formatted HTML table. Useful for emails. — Any ORDER BY clause needs to be passed in the separate ORDER BY parameter. — … Read more