SQL Query with like returns differently in php
问题 Solved: I tested writing the query as a stored procedure and again it still reported incorrectly in php. Ultimately I found out that because I have some columns with nulls PHP was reading them strangely. Disappointing to learn that Perl handled this better, but oh well. I'm using PHP 5.3.3 with adodb to access MS SQL server 2012. Most of my queries have been fine, but I'm trying to do a full join with wildcards. Here's the on portion: on a_table.hostname LIKE '%' + r_table.Hostname + '%' OR '