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 , SYSTEM$SEND_SNOWFLAKE_NOTIFICATION , TEXT_HTML , APPLICATION_JSON

语法

SNOWFLAKE.NOTIFICATION.TEXT_PLAIN( '<message>' )

实参

'message'

要发送的消息的内容。

返回

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

例如:

'{"text/plain":"A message"}'

示例

See Using SYSTEM$SEND_SNOWFLAKE_NOTIFICATION to send notifications.