Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8127183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:26:12+00:00 2026-06-06T07:26:12+00:00

I want to refresh a table using a SSIS package every time the user

  • 0

I want to refresh a table using a SSIS package every time the user runs a report built out of Report Builder 3.0, so I’ve created a SSIS job and call sp_start_job from Report Builder as a stored procedure to invoke this job.

This all works fine, but the report doesn’t wait for the job to finish before populating the dataset (I can tell because I have a “last refresh date” column in my table).

Is there a way to make sure the job finishes before the data gets loaded into the report itself?

Edit: So I decided to try calling the job and waiting before the SELECT statement like this:

USE msdb;

EXECUTE dbo.sp_start_job N'CUBE - IS Inventory Report Refresh'

WAITFOR DELAY '00:00:25'

USE OtherDatabase;

SELECT  ...

but the timestamp is still showing an older date. The SSIS job runs in 17 seconds (from the history logs), so waiting for 25 seconds before I select from the table should be plenty… does anyone have insight on why this is happening?

When I run the query in Management Studio, the table returned shows the right timestamp, so I’m thinking it might be a Report Builder issue (?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T07:26:14+00:00Added an answer on June 6, 2026 at 7:26 am

    And that’d be expected. Starting a job is an asynchronous call so once it’s started, control returns back to the caller. You’d then need to start polling the sys job tables to see whether the job is currently executing. You could do that in the same proc call and once the job has hit a terminal state (completed, failed) you could then return your dataset to the user. That would answer your question but goodness, that could get ugly.

    Is there no way to perform the ETL prior to people using the report?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to submit a form without page refresh using jQuery. I found some
i just want to find out the name of this grid to refresh it.
It takes about 5-10 minutes to refresh a prepared reporting table. We want to
I am trying to refresh an UITableView every time I navigate the the view
I want to add a refresh button in UINavigationBar that refreshes the entire table
I want to refresh Google Map and send new geolocalization request without refreshing the
want to know why String behaves like value type while using ==. String s1
Want the function to sort the table by HP but if duplicate HPs then
want to ask user to input something but not want to wait forever. There
I want to do autopostback to dropdownlist. My form on view: @using (Html.BeginForm(Index, Model,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.