It appears that mssql_next_result does not work with stored procedures. I was able to use the function with PHP side queries. However when a stored proc returns multiple result sets I am able to grab only first set and get the following warning: Warning: mssql_execute: multiple recordsets from a stored procedure not supported yet! (Skipping...) I run PHP 4.2.0 Is there a work around for this limitation? Perhaps it was solved in the later releases of PHP? thank you gd -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php