Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Export Report to SSMS Expand / Collapse
Author
Message
Posted Tuesday, July 8, 2014 11:32 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Wednesday, August 6, 2014 5:09 PM
Points: 94, Visits: 376
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.
Post #1590447
Posted Tuesday, July 8, 2014 1:40 PM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: 2 days ago @ 3:40 PM
Points: 1,787, Visits: 5,692
What is the data source for the report ? (Thinking - why not just take your copy of the data directly from the data source)

MM


  • MMGrid Addin
  • MMNose Addin


  • Forum Etiquette: How to post Reporting Services problems
  • Forum Etiquette: How to post data/code on a forum to get the best help - by Jeff Moden
  • How to Post Performance Problems - by Gail Shaw

  • Post #1590488
    Posted Wednesday, July 9, 2014 6:13 AM
    SSC Journeyman

    SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

    Group: General Forum Members
    Last Login: Wednesday, August 6, 2014 5:09 PM
    Points: 94, Visits: 376
    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.
    Post #1590696
    Posted Wednesday, July 9, 2014 10:06 AM
    SSC Rookie

    SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

    Group: General Forum Members
    Last Login: 2 days ago @ 2:33 PM
    Points: 41, Visits: 255
    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.

    Post #1590841
    Posted Wednesday, July 9, 2014 1:55 PM
    SSC Journeyman

    SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

    Group: General Forum Members
    Last Login: Wednesday, August 6, 2014 5:09 PM
    Points: 94, Visits: 376
    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.
    Post #1590935
    « Prev Topic | Next Topic »

    Add to briefcase

    Permissions Expand / Collapse