In SQLMessenger, you can easily convert the results of an SQL query into a table that can be sent as an attachment in an email, or convert the query results into an HTML table to display in the body of an email. This kind of table is referred to as a Simple Table.

Convert the results of an SQL query into a simple Excel table.
2 The Structure of Simple Tables
The first row of the Simple Table is the header row, and the second row and subsequent rows are data rows.

The structure of the Simple Table.
In SQLMessenger, you can convert the results of an SQL query into a Simple Table in Excel format.
You can add multiple SQL queries to a single attachment, with the results of each query placed in a separate Sheet.

Multiple queries in one Excel attachment.

The spreadsheet file generated after the task execution.






In SQLMessenger, you can convert the results of an SQL query into an HTML table and display it in the email body generated by a task.






The converted HTML table.
You can use the "Table Style Designer" to modify the style of a Simple Table, such as column width, row height, color, font, and other styles.

Simple Table Style Designer.
In this dialog box:
|
Add or remove SQL fields from the Simple Table. |
|
Remove fields from the Simple Table. |
|
Move the selected field to the left or right. |
|
When converting the query results into an Excel table, you can click this button to freeze the selected columns. |
|
When converting the query results into an Excel table, you can click this button to freeze the header row. |
|
Display the SQL query results in transposed format. |
|
Set the format for the selected cells. |
|
Set the table width (HTML only), along with other options. |
Dynamically add all SQL fields to the result table |
If this option is selected, the system will add all fields returned by the SQL query to the Simple Table. You can use this feature to dynamically add all columns to the Simple Table. |