That must be one heck of a complex query if it's using more than 256 tables!!
I would suggest you try and break up the joins into separate chunks, encapsulated in views, functions etc, and then join them back together in your select.
I must admit, it's not something I've ever come across before!
--James