SQL: Query a tabla HTML

A veces puede ser interesante montar una tabla HTML con un simple QUERY. Con el siguiente procedimiento almacenado podemos hacerlo: Obtenido de: https://stackoverflow.com/questions/7070053/convert-a-sql-query-result-table-to-an-html-table-for-email — 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. — ============================================= CREATE PROC Leer másSQL: Query a tabla HTML[…]

Publicada en SQL