I'm trying to insert emoji into NVARCHAR(MAX)
column from PHP but I get error. The same query executed by SQL Server client works fine so the problem is query/connection size.
INSERT INTO table (text) VALUES (N' example')
I get error:
Incorrect syntax near ''
I'm using PHP mssql_connect driver with mssql.charset set to UTF-8.
PHP version 5.6
SQL Server version 2016