Getting General error: 4004 General SQL Server error:
<p>I am trying to fetch data from my database in Laravel, however I am getting a "General error: 4004 General SQL Server error:"</p>

<p>I'm using Laravel-5 with MSSQL.
If I use the DB object to fetch data from MSSQL I am not able to fetch xml and nvarchar fields, </p>

<p>I found a usefull link below, but to implement this I have to rewrite all my queries. Is there any other way?</p>

<p><a href="https://gullele.wordpress.com/2010/12/15/accessing-xml-column-of-sql-server-from-php-pdo" rel="nofollow">https://gullele.wordpress.com/2010/12/15/accessing-xml-column-of-sql-server-from-php-pdo</a></p>