Reply
Old 06-09-2014, 02:06 PM   #1 (permalink)
 
Status: Member
Posts: 40



Default 'select isnull(null +" and"," on")' returns "on" in sql server but its return " and" in php mssql

while directly executing the query in sql server it returns " on".
But using PHP [ mssql_quey] it returns " and".



I need " on".

PHP v 5.3
Xampp v3
MS SQL Server 2008
praveen is offline   Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Select a Records Depending On What A PHP Function Returns? Josh PHP Code/ PHP Codes 1 10-29-2013 07:05 PM
in php should i return; or return null; what is the deference? Rami PHP Code/ PHP Codes 1 04-14-2013 06:02 PM
Find a asp control on page but returns NULL Drobbibre ASP Code/ ASP Codes 2 08-28-2011 12:36 PM
MSSql Select Where Count of Table > 0 FriendDominic MSSQL Databases 1 08-08-2011 12:55 AM
How do I build this SQL Select Statement and return a IS NOT NULL from two fields aoaimyd4 Coding 1 05-12-2011 11:06 PM