Yurttas/PL/DBL/postgres/F/01/Company-A/DeptLocation-cre.sql
1/*
2REM
3REM
4REM DeptLocation-cre.sql
5REM
6REM
7*/
8
9SELECT current_schema();
10SET search_path to "companya";
11
12CREATE TABLE DeptLocation(dnumber INTEGER NOT NULL,
13 dlocation VARCHAR(24) NOT NULL,
14 PRIMARY KEY(dnumber, dlocation),
15 FOREIGN KEY(dnumber) REFERENCES Department(dnumber));