July 8, 2014 at 11:32 am
I would like to export a report to a table in SSMS, ultimately on a scheduled basis using Sql Server Agent. Is there a way to do this?
Thanks in advance.
July 8, 2014 at 1:40 pm
What is the data source for the report ? (Thinking - why not just take your copy of the data directly from the data source)
MM
select geometry::STGeomFromWKB(0x0106000000020000000103000000010000000B0000001000000000000840000000000000003DD8CCCCCCCCCC0840000000000000003DD8CCCCCCCCCC08408014AE47E17AFC3F040000000000104000CDCCCCCCCCEC3F9C999999999913408014AE47E17AFC3F9C99999999991340000000000000003D0000000000001440000000000000003D000000000000144000000000000000400400000000001040000000000000F03F100000000000084000000000000000401000000000000840000000000000003D0103000000010000000B000000000000000000143D000000000000003D009E99999999B93F000000000000003D009E99999999B93F8014AE47E17AFC3F400000000000F03F00CDCCCCCCCCEC3FA06666666666FE3F8014AE47E17AFC3FA06666666666FE3F000000000000003D1800000000000040000000000000003D18000000000000400000000000000040400000000000F03F000000000000F03F000000000000143D0000000000000040000000000000143D000000000000003D, 0);
July 9, 2014 at 6:13 am
Thanks for the help. The source of the report is a SSRS from a data cube. I am new to anything to do with MDX and have attempted to build an MDX query to duplicate the result (this would be my preferred option in the long run However the result needs to have three data elements (levels of dimensions) on each row and I can not figure out how to do this in MDX at this time. The SSRS report builds this fine and I am looking for a way to get the result in the form I can use it. Any suggestions will be tested and very much appreciated.
Thank you.
July 9, 2014 at 10:06 am
I would suggest using SSIS for this.
First create a subscription for the report that writes the data to a text or csv file.
Create an SSIS package to read the file and import it into the table.
July 9, 2014 at 1:55 pm
Thank you. I have found a way to build an MDX query to get most of what I want and have put it in an SSIS package as you suggest. It works well as far as I have made it so far.
Learning MDX is a little challenging to me at this point.
I appreciate your help.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply