I am querying a cube in t-sql with an mdx statement inside of a openquery function. Using the insert into statement I am inserting the result set into a temp table. I need to alias the the column names. I can alias the messures ( [XXXXX].[XXXXX]) but not the dimminsions ([XXXXXX].[XXXXXX].[XXXXXX]). Can anyone help?