Categories:

Notification functions (Message Construction)

TEXT_PLAIN

Returns a JSON object that specifies the plain text 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 to email addresses and cloud provider queues , SYSTEM$SEND_SNOWFLAKE_NOTIFICATION , TEXT_HTML , APPLICATION_JSON

Syntax

SNOWFLAKE.NOTIFICATION.TEXT_PLAIN( '<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/plain":"A message"}'
Copy

Examples

See Using SYSTEM$SEND_SNOWFLAKE_NOTIFICATION to send notifications to email addresses and cloud provider queues.