Hi there, I have a slight problem with a stored procedure in mssql to does 2 selects into temporary tables and then does another select joining them with another table from the database to return the data. when this is run in query analyzer it returns the following (86 row(s) affected) (86 row(s) affected) then the data... I have run this in asp and it returns the data but in php it seems to see the '(86 row(s) affected)' and returns nothing. Anyone any ideas Thanks Nick -- PHP Database 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]