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=#

PostGr-SQL database创建表,布布扣,bubuko.com

PostGr-SQL database创建表

上一篇:System.BadImageFormatException: 未能加载文件或程序集“Oracle.DataAccess”或它的某一个依赖项。试图加载格式不正确的程序。


下一篇:MySql中的事件