Patrick Roth has a new post up on an odd issue he saw with a table incorrectly created as a ctree table.
SQL Temp Table Opening As Ctree in Dynamics GP
Archived post from 2010. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.