Hello, i have connected to Microsoft sql server 2017 using php sql server PDO extension.... when try to select varbinary() data type over 3999 length i get this error: Invalid sql_display_size
If varbinary length is 3999 or less everything is fine. Currently column is defined as varbinary(7584)
using Laravel Framework 5.8, PHP 7.3, PHP SqlServer 5.6
Code:Error message : Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN) Invalid sql_display_size
Last edited by KristiansJ; 23-06-19 at 10:34 AM.
According to this https://github.com/Microsoft/msphpsql/issues/129 this issue has been solved in the latest version of the PDO driver. Please update your driver and try!
** Web developer **