Re: Checking to see if a DELETE was successful from MSSQL

From: Date: Tue, 30 Apr 2002 17:41:04 +0000
Subject: Re: Checking to see if a DELETE was successful from MSSQL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95405@lists.php.net to get a copy of this message
On Tue, 30 Apr 2002, Joshua E Minnie wrote: > I tried that already, it always returns true. The reason is because it > will always return true since it is only deleting if the user exists. > This means that the query will run and successfully complete. But if > the user does not exist it still runs and completes successfully, but > the user was not there. So how do I detect that situation. You could always try preceeding it with a SELECT... miguel

« previous php.general (#95405) next »