When I try to create table in db2, it throws the following error
$ db2 CREATE TABLE employee(emp_id INT NOT NULL, emp_name VARCHAR(100))
sh: Syntax error: "(" unexpected
Please help. Thanks in advance
The problem is not DB2 but the shell. Use:
$ db2 "CREATE TABLE employee(emp_id INT NOT NULL, emp_name VARCHAR(100))"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With