You can't use this until you register with us!




Description

Use data from MySQL to generate an Excel spreadsheet and send it to an e-mail address.


Purchasing Options



Available Actions

Create Spreadsheet

Run the specified SQL Query against a MySQL database to obtain the information needed to create a spreadsheet, then send it to the specified recipients via e-mail.


Variables

Database Parameters
target_db required

MySQL Database with the data needed to create the Excel Spreadsheet.

sql required

SQL Query to use to create the content in the Excel Spreadsheet.

pointer required

Date and time where the processing of your sequentially sorted data should begin. Formatted as YYYY-MM-DD HH:MM:SS in UTC timezone.

range_end_point_query

SQL query to use to determine the end point of the data to process.

user_params

Parameters to use in your SQL query, if any. Refer to slide out help for more information.


Spreadsheet Parameters
spreadsheet_filename

Name of the Excel Spreadsheet file to create.

sheet_name

Optional name of the first sheet to create in the Excel Spreadsheet.

na_rep

String to use to represent Not a Number values. Leave blank to use NaN.

inf_rep

String to represent infinity. Leave blank to use inf.

float_format

Format string for floating point numbers. For example, '%.2f' will format 0.1234 to 0.12.

columns

Optional list of column names, separated by comma, with no spaces, to include only a subset of columns from the query result in the spreadsheet. Leave blank to include all columns.

header

Specify the word 'True' to create a header row in the spreadsheet with the names of the columns from the query result. Or specify a list of column names, separated by comma, with no spaces, to create a header row in the spreadsheet with the names specified instead of the columns from the query result.

index

Enable to include an index column and value for each row.

index_label

If Row Index is enabled, specify the name of the Index column.

startrow

Row where the query result data will start in the spreadsheet.

startcol

Column where the query result data will start in the spreadsheet.

freeze_panes

Specify two values separated by comma with no spaces, the bottommost row and rightmost column, to freeze them.


Email Parameters
smtp_connection required

SMTP Server to use.

alt_from

If this field is blank, the e-mail address associated with the Username specified in the SMTP connection will be used.

to required

Addresses to place in the To field of the e-mail. Multiple values must be separated by commas.

cc

Addresses to place in the Cc field of the e-mail. Multiple values must be separated by commas.

bcc

Addresses to place in the Bcc field of the e-mail. Multiple values must be separated by commas.

subject required

Subject content of the email.

body required

Body content of the email.