hi, i m inserting some records in mssql database.. the records are inserted but when i use the mssql_rows_affected function to get the number of rows affected by the statement.. i get a return value of -1.... i m inserting thru a stored proc...and after execution of the stored proc i call the mssql_rows_Affected function.. can anyone help me out on that... thanks, Gaurav Rustogi ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/