Re: Checking to see if a DELETE was successful from MSSQL
| From: | Joshua E Minnie | Date: | Tue, 30 Apr 2002 17:49:15 +0000 |
| Subject: | Re: Checking to see if a DELETE was successful from MSSQL | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95406@lists.php.net to get a copy of this message | ||
That was exactly what I needed. Thanks, this group has been so helpful.
.:. Josh .:.
"Miguel Cruz" <mnc@stoic.net> wrote in message
news:Pine.LNX.4.44.0204301240510.23990-100000@stoic.net...
> 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
>