ORA-00922 Missing or Invalid Option when creating a table
Posted: Tue 13 Sep 2016 06:04
I am attempting to create a simple table in Direct mode. I've verified that the connection is open but when I attempt:
OracleCommand cmd = new OracleCommand(sqlOra, connection);
cmd.ExecuteNonQuery();
It fails with the ORA-00922 message. The sqlOra variable seems to be valid. I can paste the text directly into SQL Plus and SQL Developer and it works.
Oracle version = 12c
dotConnect version = 9.1.97
Any help is appreciated.
OracleCommand cmd = new OracleCommand(sqlOra, connection);
cmd.ExecuteNonQuery();
It fails with the ORA-00922 message. The sqlOra variable seems to be valid. I can paste the text directly into SQL Plus and SQL Developer and it works.
Oracle version = 12c
dotConnect version = 9.1.97
Any help is appreciated.