SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Export Report to SSMS


Export Report to SSMS

Author
Message
Howard C. BAchtel-438731
Howard C. BAchtel-438731
SSC-Addicted
SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)

Group: General Forum Members
Points: 492 Visits: 391
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.
mister.magoo
mister.magoo
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10747 Visits: 7891
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);




  • 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

  • Howard C. BAchtel-438731
    Howard C. BAchtel-438731
    SSC-Addicted
    SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)

    Group: General Forum Members
    Points: 492 Visits: 391
    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.
    sql Sarah
    sql Sarah
    Old Hand
    Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)Old Hand (361 reputation)

    Group: General Forum Members
    Points: 361 Visits: 592
    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.
    Howard C. BAchtel-438731
    Howard C. BAchtel-438731
    SSC-Addicted
    SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)SSC-Addicted (492 reputation)

    Group: General Forum Members
    Points: 492 Visits: 391
    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.
    Go


    Permissions

    You can't post new topics.
    You can't post topic replies.
    You can't post new polls.
    You can't post replies to polls.
    You can't edit your own topics.
    You can't delete your own topics.
    You can't edit other topics.
    You can't delete other topics.
    You can't edit your own posts.
    You can't edit other posts.
    You can't delete your own posts.
    You can't delete other posts.
    You can't post events.
    You can't edit your own events.
    You can't edit other events.
    You can't delete your own events.
    You can't delete other events.
    You can't send private messages.
    You can't send emails.
    You can read topics.
    You can't vote in polls.
    You can't upload attachments.
    You can download attachments.
    You can't post HTML code.
    You can't edit HTML code.
    You can't post IFCode.
    You can't post JavaScript.
    You can post emoticons.
    You can't post or upload images.

    Select a forum

































































































































































    SQLServerCentral


    Search