CreateTable demo

← List all

← Parse another

Parsing "CREATE TABLE bar ( baz INT(..."

Input

Original

CREATE TABLE bar ( baz INT(11) )

Results

  1. Table structure
  2. Cross-platform SQL
  3. Errata

CreateTable is still young—please comment on any errors or surprises in the Errata section! Thank you.

Table structure

Number of columns: 1

name data_type allow_null default primary_key unique autoincrement charset collate
baz INTEGER true false false false

Cross-platform SQL

MySQL
CREATE TABLE bar ( baz INTEGER )
PostgreSQL
CREATE TABLE bar ( baz INTEGER )
Sqlite3
CREATE TABLE bar ( baz INTEGER )

Errata

comments powered by Disqus

© 2017 Brighter Planet, Inc.