Category: Misc

  • Import CSV File in Database/Table

    How can we import CSV files in MySQL database or table? MySQL has a feature that allows us to import the CSV file into a database or table. A CSV stands for comma-separated values, which is a plain text file that contains the list of data and allows us to save it in a tabular format.…

  • Export and Import Database

    How can we Export and Import database in MySQL? Database export and import in MySQL is a process of moving data from one place to another place. Export and import are useful methods for backing up essential data or transferring our data between different versions. For example, we have a contact book database that is…

  • Change Storage Engine

    MySQL storage engines are used for maximizing the performance of the database. It handles create, read, and update operations for storing and managing the information in a database. In this article, we are going to learn how to change the storage engines in MySQL. The following are various storage engines supports in MySQL that provide different capabilities and…

  • CHECK CONSTRAINT

    The check constraint is an integrity constraint that controls the value in a particular column. It ensures the inserted or updated value in a column must be matched with the given condition. In other words, it determines whether the value associated with the column is valid or not with the given condition. Before version 8.0.16, MySQL uses…

  • Comments

    A comment is a programmer-readable explanation or annotation placed in the SQL queries. It is used for the purpose of making the SQL statements easier for humans to understand. MySQL generally ignores them during the parsing of the SQL code. Comments can be written in a single line or multiple lines. MySQL can also provide an…