Important
The SingleStore 9.1 release candidate (RC) is available now. It will be promoted to general availability (GA) soon and at that time it will be renamed to SingleStore 10.
In the interim, SingleStore 9.1 RC can be used to preview, evaluate, and provide feedback on the new and upcoming features in SingleStore 10, while SingleStore 9.0 is recommended for production workloads.
Example Dynamic SQL Use Cases
-
You have an application that takes daily snapshots of the data in one table.
You write a stored procedure that takes the table name as a parameter. Using this parameter, you write dynamic queries to analyze the data for one day. -
You have a feature tracking database where you track the features that are installed for each customer.
You write a stored procedure that takes a customer ID as a parameter. Using dynamic SQL, you create a FEATURE table for the customer (with the customer ID) and populate this table with the default feature set. -
You want to write a table analyzer utility that returns the number of rows in a table as well as the number of unique values in each column of the table.
Using dynamic SQL, you write a stored procedure that accepts the table name as a parameter and runs the calculations.
Last modified: