-1

I am trying to create a 'employee' table in DB2 11.1.4.6. However getting -bash: syntax error near unexpected token `('

Installed Db2 11.1 on Linux. Also created 'professional' schema.

Below is the error :-

[db2inst3@DB2101 ~]$ db2 create table professional.employee(id int); -bash: syntax error near unexpected token `('

1 Answers1

0

You have to put quotes around the actual statement:

db2 "create table professional.employee..."
data_henrik
  • 16,724
  • 2
  • 28
  • 49