H2 DDL Operations: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
CREATE TABLE ''<table-name>''(''<primary-key-column-name>'' INT PRIMARY KEY, ''<column-1-name>'' VARCHAR(255)); | CREATE TABLE ''<table-name>''(''<primary-key-column-name>'' INT PRIMARY KEY, ''<column-1-name>'' VARCHAR(255)); | ||
CREATE TABLE TEST (ID INT PRIMARY KEY, NAME VARCHAR(255)); | |||
=Update Table Definition= | =Update Table Definition= |
Latest revision as of 17:59, 25 September 2017
Internal
Create Table
CREATE TABLE <table-name>(<primary-key-column-name> INT PRIMARY KEY, <column-1-name> VARCHAR(255));
CREATE TABLE TEST (ID INT PRIMARY KEY, NAME VARCHAR(255));
Update Table Definition
Delete Table
DROP TABLE IF EXISTS <table-name>;