Hello,
I thought I knew sql, but when I send this as an argument of a
Statement.execu te():
create view mike.unnamed1(W ORKDEPT) as select f1.WORKDEPT as
\"WORKDEPT\"\r\ nfrom MIKE.EMPLOYEE f1\r\nfor read only\r\n
I get:
[IBM][CLI Driver][DB2/NT] SQL0104N An unexpected token \"create view
mike.unnamed1(W ORKDEPT) as sel\" was found following
\"BEGIN-OF-STATEMENT\". Expected tokens may include: \"<values>\" .
SQLSTATE=42601\ r\n
Since this code works for Sybase, Oracle, Cache, SQLServer, Postgress,
etc. I have to assume this is a JDBC driver fault.
(COM.ibm.db2.jd bc.net.DB2Drive r)
Has anybody seen/dealt with this?
Any hints would be much appreciated.