Yurttas/PL/DBL/postgres/F/01/SPJ/Parts-cre.sql

From ZCubes Wiki
Revision as of 00:54, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→‎REM REM REM Parts-cre.sql REM REM: SELECT current_schema(); SET search_path to "spj"; CREATE TABLE Parts(pn VAR...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM
 3REM
 4REM Parts-cre.sql
 5REM
 6REM
 7*/
 8
 9SELECT current_schema();
10SET search_path to "spj";
11
12CREATE TABLE Parts(pn VARCHAR(4) NOT NULL,
13                   pname VARCHAR(12),
14                   color VARCHAR(8),
15                   weight INTEGER,
16                   city VARCHAR(16),
17       PRIMARY KEY(pn));