Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Dataset order in SQL Server Reporting Services

Dataset order in SQL Server Reporting Services

Scheduled Pinned Locked Moved ASP.NET
databasequestionsql-serverhelpsysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    www Developerof NET
    wrote on last edited by
    #1

    Hi, I really don`t know whether it`s the right place to post this question. I am using SSRS 2008 and I have a report which has two datasets among which one is a query and other is a stored procedure. The stored procedure is basically used to prepare data and insert it in a physical table from where the other dataset would query and generate the report. My problem is how do i configure the execution of the report so that the procedure executes first and the query executes after the completion of the execution of the stored procedure ? Any help would be appreciated.

    When you fail to plan, you are planning to fail.

    S 1 Reply Last reply
    0
    • W www Developerof NET

      Hi, I really don`t know whether it`s the right place to post this question. I am using SSRS 2008 and I have a report which has two datasets among which one is a query and other is a stored procedure. The stored procedure is basically used to prepare data and insert it in a physical table from where the other dataset would query and generate the report. My problem is how do i configure the execution of the report so that the procedure executes first and the query executes after the completion of the execution of the stored procedure ? Any help would be appreciated.

      When you fail to plan, you are planning to fail.

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      www.Developerof.NET wrote:

      My problem is how do i configure the execution of the report so that the procedure executes first and the query executes after the completion of the execution of the stored procedure ?

      Keep only one dataset - Stored Procedure one. In your SP, apart from preparing data and inserting it in a table, have a select query (which actually right now is in other dataset of yours). Select query result of the SP would return the needed data. Use it!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups