Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select id from new table #45

Open
darit opened this issue Dec 12, 2018 · 0 comments
Open

select id from new table #45

darit opened this issue Dec 12, 2018 · 0 comments

Comments

@darit
Copy link

darit commented Dec 12, 2018

I've the issue when inserting on any table, the query generated is something with select id from new table. I've switched the "new" keyword to "final" and now it seems to work.

EDIT:
Sorry for the poor information I've written on this.
The error that's happening is this: SQL0199N The use of the reserved word "INTO" following "" is not valid. Expected tokens may include: ", )". SQLSTATE=42601
So we are using the PDO_IBM connector but the DB is on zOS. So I've had to modify the DB2Processor.php on vendor/cooperl/laravel-db2/src/Query/Processors to switch the "new" keyword for "final" like on the DB2 zOS ODBC Processor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant