Yes, User-defined table type is not supported. To optimize this SQL, you can either create a physical table or a temporay table. We will consider support User-defined table type in the future release.
Thank you very much for using Quest SQL Optimizer for SQL Server. Your message is valuable to us.