Sign inTry Free
  • Introduction
    • Deploy
      • Connect to Your Cluster
        • Create a Database
          • Integrate with SingleStoreDB
          • Load Data
            • Query Data
              • Manage Data
                • Developer Resources
                  • Migrate Existing Applications
                    • Connect with Application Development Tools
                      • Concurrent Multi-Insert Examples
                        • Functional Extensions
                          • Procedural Extensions
                            • Performance
                            • Control Flow
                            • Additional Data Types
                            • Stored Procedures
                            • User-Defined Scalar-Valued Functions (UDFs)
                            • User-Defined Table-Valued Functions (TVFs)
                            • User-Defined Aggregate Functions (UDAFs)
                            • Static Parameterized SQL
                            • Dynamic SQL
                              • Procedural Extensions Security
                                • Procedural SQL Reference
                                • See Also
                              • Get Started Using SingleStoreDB for Free
                                • See Also
                              • User and Cluster Administration
                                • Reference
                                  • Security
                                    • Release Notes
                                      • Support
                                        • Glossary
                                        1. Self-Managed v7.3
                                        2. /
                                        3. ...
                                        4. /
                                        5. Control Flow

                                        Control Flow

                                        All common control flow statements are supported, including:

                                        • Conditional control, such as IF, ELSE, and ELSIF

                                        • Iterative control, such as LOOP, FOR, WHILE, EXIT, CONTINUE, and loop labels

                                        For more information, see the Control Flow Statements topic.

                                        Last modified: April 28, 2021

                                        Was this article helpful?

                                        Performance
                                        Additional Data Types

                                        Product

                                        • Product Overview
                                        • Solutions
                                        • Pricing
                                        • Support

                                        Community

                                        • Forums
                                        • Developer Hub
                                        • Events
                                        • Training

                                        Company

                                        • Contact Us
                                        • Blog
                                        • Careers
                                        • SingleStore Connect

                                        This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

                                        • © SingleStore
                                        • |

                                        • Privacy Policy
                                        • |

                                        • Terms of Service
                                        • |

                                        • Legal Terms and Conditions

                                        Was this article helpful?