PostGr-SQL database创建表

postgres=# create database vertigo_sandbox;

postgres=# \connect vertigo_sandbox

vertigo_sandbox=# CREATE TABLE gfxpv_testplan
vertigo_sandbox-# (
vertigo_sandbox(# test_id bigserial NOT NULL, -- the primary key
vertigo_sandbox(# test_name character varying(255) NOT NULL, -- the test name
vertigo_sandbox(# CONSTRAINT "PK_test" PRIMARY KEY (test_id)
vertigo_sandbox(# );
NOTICE: CREATE TABLE will create implicit sequence "gfxpv_testplan_test_id_seq"
for serial column "gfxpv_testplan.test_id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "PK_test" for tab
le "gfxpv_testplan"
CREATE TABLE
vertigo_sandbox=#

上一篇:完全原生javascript简约日历插件,js、html


下一篇:你可能不需要 jQuery!使用原生 JavaScript 进行开发