Sign inTry Free
  • Introduction
    • Deploy
      • Connect to Your Cluster
        • Create a Database
          • Integrate with SingleStoreDB
            • Load Data
              • Query Data
                • Manage Data
                  • Developer Resources
                    • User and Cluster Administration
                      • Reference
                        • Configuration Reference
                          • SingleStoreDB Operator Reference
                            • SingleStore Tools Reference
                              • SQL Reference
                                • SQL Command Syntax
                                • SQL Commands List
                                • SQL Functions List
                                • Comparison Operators and Functions
                                  • Database Object Case-Sensitivity
                                  • Data Types
                                    • Character Encoding
                                      • Operations that Take Either a Database or a Cluster Level Lock
                                        • User-Defined Variables
                                          • Restricted Keywords
                                            • Aggregate Functions
                                              • Cluster Management Commands
                                                • Code Generation Functions
                                                  • Conditional Functions
                                                    • Data Definition Language DDL
                                                      • ALTER DATABASE
                                                      • ALTER TABLE
                                                      • ALTER VIEW
                                                      • ATTACH DATABASE
                                                      • CREATE DATABASE
                                                      • CREATE INDEX
                                                      • CREATE MILESTONE
                                                      • CREATE VIEW
                                                      • CREATE TABLE
                                                      • DESCRIBE
                                                      • DETACH DATABASE
                                                      • DROP DATABASE
                                                      • DROP INDEX
                                                      • DROP … FROM PLANCACHE
                                                      • DROP RESULT TABLE
                                                      • DROP TABLE
                                                      • DROP VIEW
                                                      • FLUSH TABLES
                                                      • OPTIMIZE TABLE
                                                      • TRUNCATE
                                                      • UNLOCK TABLES
                                                    • Data Manipulation Language DML
                                                      • Date and Time Functions
                                                        • Distinct Count Estimation Functions
                                                          • Full-Text Search Functions
                                                            • Geospatial Functions
                                                              • Identifier Generation Functions
                                                                • Information Functions
                                                                  • JSON Functions
                                                                    • Numeric Functions
                                                                      • Operational Commands
                                                                        • Pipelines Commands
                                                                          • Procedural SQL Reference
                                                                            • Regular Expression Functions
                                                                              • Resource Pool Commands
                                                                                • Security Management Commands
                                                                                  • SHOW Commands
                                                                                    • String Functions
                                                                                      • Time Series Functions
                                                                                        • Vector Functions
                                                                                          • Window Functions
                                                                                          • Troubleshooting Reference
                                                                                            • System Databases
                                                                                            • Information Schema Reference
                                                                                              • Data API
                                                                                              • Security
                                                                                                • Release Notes
                                                                                                  • Support
                                                                                                    • Glossary
                                                                                                    1. Self-Managed v7.6
                                                                                                    2. /
                                                                                                    3. ...
                                                                                                    4. /
                                                                                                    5. Data Definition Language DDL

                                                                                                    Data Definition Language DDL

                                                                                                    In this section

                                                                                                    • ALTER DATABASE
                                                                                                    • ALTER TABLE
                                                                                                    • ALTER VIEW
                                                                                                    • ATTACH DATABASE
                                                                                                    • CREATE DATABASE
                                                                                                    • CREATE INDEX
                                                                                                    • CREATE MILESTONE
                                                                                                    • CREATE VIEW
                                                                                                    • CREATE TABLE
                                                                                                    • DESCRIBE
                                                                                                    • DETACH DATABASE
                                                                                                    • DROP DATABASE
                                                                                                    • DROP INDEX
                                                                                                    • DROP … FROM PLANCACHE
                                                                                                    • DROP RESULT TABLE
                                                                                                    • DROP TABLE
                                                                                                    • DROP VIEW
                                                                                                    • FLUSH TABLES
                                                                                                    • OPTIMIZE TABLE
                                                                                                    • TRUNCATE
                                                                                                    • UNLOCK TABLES

                                                                                                    Last modified: November 17, 2022

                                                                                                    Was this article helpful?

                                                                                                    SLEEP
                                                                                                    ALTER DATABASE

                                                                                                    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?