[ HELP ] Laravel 5.8 - MS SQL Server - Invalid sql_display_size

Results 1 to 2 of 2
  1. #1
    Digital Horizon KristiansJ is offline
    True MemberRank
    Jul 2012 Join Date
    203Posts

    [ HELP ] Laravel 5.8 - MS SQL Server - Invalid sql_display_size

    [ HELP ] Laravel 5.8 - MS SQL Server - Invalid sql_display_size
    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.


  2. #2
    Programmer cyberinferno is offline
    True MemberRank
    Jun 2009 Join Date
    127.0.0.1Location
    693Posts

    Re: [ HELP ] Laravel 5.8 - MS SQL Server - Invalid sql_display_size

    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 **



Advertisement