</>
Tutorials

H2 Database Tutorial

  • H2 Database - Drop
    DROP is a command taken from the generic SQL grammar. This command is used to delete a database component and its structure from the memory. There are different scenarios with the Drop command that we will discuss in this chapter.
  • H2 Database - Alter
    ALTER is a command used to change the table structure by adding different clauses to the alter command. Based on the scenario, we need to add respective clause to the alter command. In this chapter, we will discuss various scenarios of alter command.
  • H2 Database - Create
    CREATE is a generic SQL command used to create Tables, Schemas, Sequences, Views, and Users in H2 Database server.
  • H2 Database - Show
    SHOW is a command used to display the list of Schemas, Tables, or Columns of the table.
  • H2 Database - Merge
    MERGE command is used to update the existing rows and insert new rows into a table. The primary key column plays an important role while using this command; it is used to find the row.
  • H2 Database - Explain
    EXPLAIN command displays the execution plan for a statement. When we execute a statement using EXPLAIN ANALYZE command, the query plan will include the actual row scan count for each table.
PreviousPage 3 / 6Next