H2 DDL Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:


=Create Table=
=Create Table=
CREATE TABLE ''<table-name>''(''<primary-key-column-name>'' INT PRIMARY KEY, ''<column-1-name>'' VARCHAR(255));


=Update Table Definition=
=Update Table Definition=

Revision as of 17:55, 25 September 2017

Internal

Create Table

CREATE TABLE <table-name>(<primary-key-column-name> INT PRIMARY KEY, <column-1-name> VARCHAR(255));

Update Table Definition

Delete Table

DROP TABLE IF EXISTS <table-name>;