- Aug 20, 2000
- 20,577
- 432
- 126
I'd like to execute the following SQL, along with a bunch of other table definitions, in IBM DB2. The problem is I have to do it from the *NIX command line, and DB2 doesn't seem to wait for a semicolon to execute a command. Is there a way around this?
--
CREATE TABLE employee
(emp_num INTEGER GENERATED ALWAYS AS IDENTITY,
emp_lastname VARCHAR(50),
emp_firstname VARCHAR(50),
emp_sin INTEGER,
emp_phonenum INTEGER,
emp_emergphonenum INTEGER,
emp_address VARCHAR(100))
--
CREATE TABLE employee
(emp_num INTEGER GENERATED ALWAYS AS IDENTITY,
emp_lastname VARCHAR(50),
emp_firstname VARCHAR(50),
emp_sin INTEGER,
emp_phonenum INTEGER,
emp_emergphonenum INTEGER,
emp_address VARCHAR(100))