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