| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2004-12-22 14:14 UTC] derick@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 06:00:01 2025 UTC | 
Description: ------------ If you execute an empty query the result is an error "Query failed". In earlier versions the result was bool(true). Reproduce code: --------------- //After connect $result = mssql_query(null); var_dump($result); /* or */ // $result = mssql_query(""); //var_dump($result); Expected result: ---------------- var_dump(result) has to return bool(true) Actual result: -------------- Query failed.