How can i export the results set from Stored procedure to Excel?

Hi, I am trying to export the result set from Stored procedure to Excel. What is the best way to achieve this? I tried using Export DSE to Excel but it is extracting only from DSE and was not able to feed the Stored procedure results.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to walkerc

    Completely agree. As Mike mentioned below, the plugin smart service was deprecated. Ans since this could result in a lot of data going in memory in a CDT, you would want to avoid that for scalability / perf reasons. There are two options: Option 1 - create a view and map to a data store entity and use the export or Option 2 - create a model that runs the stored proc that also populates a 'temp table' that then can be exported using the export ds then clear the temp table using a delete from DS (just be sure to plan to stop race conditions)

    Hope that helps!