Problem with passing variable to mssql

From: Date: Thu, 28 Jun 2007 13:24:37 +0000
Subject: Problem with passing variable to mssql
Groups: php.db 
Request: Send a blank email to php-db+get-43727@lists.php.net to get a copy of this message
I have issues I cant understand passing a sql statement to mssql, most of which work fine, however in some cases, a statement like "SELECT * FROM tblX where value like 'variable%' " will return 0 records when I know they are there. No errors, just 0 records. When I echo the sql string to the page, cut and paste it into SQL query analyzer, the exact same statement returns the expected records. Anyome point me to the answer?? Bill Curry METCAD 217-333-4398

« previous php.db (#43727) next »