MS SQL errors...
| From: | Christian Dechery | Date: | Fri, 30 Mar 2001 02:23:19 +0000 |
| Subject: | MS SQL errors... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-46219@lists.php.net to get a copy of this message | ||
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