Query problem with MS SQL on NT4

From: Date: Fri, 24 Nov 2000 05:21:46 +0000
Subject: Query problem with MS SQL on NT4
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-4706@lists.php.net to get a copy of this message
The following query is successful in MS SQL query analyzier, but fails in php code. $maxSel = "Select * from piclist where UID = (select max(UID) from piclist)"; $rs2 = mssql_query($maxSel); Can anyone shed some light on this? Thanks. Joe Linger

« previous php.db (#4706) next »