A more correct answer to this would be to use fn_get_sql introduced in SP3 for SQL Server 2000. DBCC INPUTBUFFER will only show the first 255 characters of the SQL in the buffer.
Sincerely,
Mark Cudmore, MCP... On my way to MCDBA
Sincerely,
Mark Cudmore, MCDBA