Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

SQL Responder Example

SQL Responder Example

You can create an SQL responder to record details of alerts in the RulePoint database or any other target database.
Consider the example of Stock table from the SQL Source services in which you have a Stock table with the Symbol, Price, Volume, and RecordTime information.

SQL Responder for a source with a parameterized query

You can use the following SQL query to insert information into the Stock table:
insert into Stocks(symbol, price) values('TEST','81')
This SQL query inserts a row in the Stock table with values for Symbol and Price columns.

SQL Responder for a source with query using limit

You can constrain the SQL query by inserting the values for selected columns of the table.
insert into Stocks(symbol, price) values('LIMIT','13')
This SQL query inserts values to the Symbol and Price column of the Stock table.

0 COMMENTS

We’d like to hear from you!