Hello,
I'm having trouble inserting values into tables with columns of integer data type using Laravel 5.1 and Sybase.
Error 257 is listed when the exception is thrown. In the Sybase manuals seems to be a conversion problem. I can see that the sql of the insert mounted by the framework is something like
inserir [table_name] ([col1], []) col2 valores ('AAA', '999'))
So I realize that Laravel is passing all values in single quotation marks, and it seems to me that Sybase does not accept this type of construction.
I'm using Linux Ubuntu with freetds installed with version 5.0 of the protocol.
Has anyone solved this type of problem yet? Is it missing any configuration or do I have to write an extension driver to work with Sybase and Laravel 5.1?