> -----Original Message-----
> From: Christian Dechery [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 29, 2001 6:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] MS SQL errors...
>
>
> why do MS SQL reports errors so poorly on PHP?
>
> you can do anything with those errors, they're useless... and the worse
> part is the actual important part of the error is in the warning, and not
> on the contents of mssql_get_last_message(), where they should be...
>
> and, worse... mssql_query() returns false even when they query ran ok...
>
> I have a script that runs a lot of queries that loads several 'alter
> tables' into mssql to create FKs... for some reason when the query is run
> it generates a warning like this: " Context changed to database
> 'LIQUID' ",
> which is not really an error, and the query is executed... but returns
> false... I don't consider this to be a bug... but there's certainly
> something wrong about error handling in mssql_db_functions*()...
> ____________________________
> . Christian Dechery (lemming)
> . http://www.tanamesa.com.br
> . Gaita-L Owner / Web Developer

PHP mFAQ

Addition # 32: why do MS SQL reports errors so poorly on PHP?

Because that is the way it is coded.  If something is wrong, fix it, or
report it to the right channels, but this is not the place to ask these
questions.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to