Categories:

Notification functions (Message Construction)

TEXT_HTML

Returns a JSON object that specifies the HTML message to use for a notification. This is a helper function that you use to construct a message object for the SYSTEM$SEND_SNOWFLAKE_NOTIFICATION stored procedure.

See also:

Using SYSTEM$SEND_SNOWFLAKE_NOTIFICATION to send notifications , SYSTEM$SEND_SNOWFLAKE_NOTIFICATION , TEXT_PLAIN , APPLICATION_JSON

Syntax

SNOWFLAKE.NOTIFICATION.TEXT_HTML( '<message>' )
Copy

Arguments

'message'

Content of the message to send.

Returns

A JSON-formatted string that specifies a message for the SYSTEM$SEND_SNOWFLAKE_NOTIFICATION stored procedure to send.

For example:

'{"text/html":"<p>A message</p>"}'
Copy

Examples

See Using SYSTEM$SEND_SNOWFLAKE_NOTIFICATION to send notifications.