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 4039860
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:40:27+00:00 2026-05-20T12:40:27+00:00

I have a SQL DTS package running on a SQL Server 2005 database that,

  • 0

I have a SQL DTS package running on a SQL Server 2005 database that, for the most part, works properly. However, sometimes it fails and I can’t figure out why.

The package consists of an SQL task which creates a bunch of temp tables, a bunch of data transformations, then another SQL task at the end to drop the temp tables created in the first step.

The package fails every now and again because one of the temp tables referenced in a Transform Data Task can’t be found, despite the table being one of the temp tables created in the first step.

The only difference I can see between the intermittently failing task and all the other Transform Data Tasks is the Table Name property for the Destination – it is fully qualified, ie. MyDatabase.dbo.TempTable, whereas all of the other tasks just have the table name specified as TempTable. I have no idea why this one is different, or how to fix it. I am assuming that this is the problem as it’s the only thing that seems to be different between this one task and all of the others.

Also, if I manually execute the first step of the DTS to create the temp tables before executing the package in full, it always works.

Can anyone shed any light on what the problem may be here or how I can unqualify the destination table name?

Thanks

  • 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-05-20T12:40:28+00:00Added an answer on May 20, 2026 at 12:40 pm

    I found out what the problem was! Turns out that the Workflow Properties for the failing task were incorrect and didn’t specify the “Create Temp Tables” task as a prerequisite, so every now and again the task was running before the associated destination table had been created. This wasn’t happening often as the table was the second one to be created, so was generally present before the next task executed. All of the other tasks had the correct workflow properties, but for some reason this one had been missed out.

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

Sidebar

Related Questions

I have a SSIS package that runs on a SQL Server 2005 instance that
Have a DTS package that is running in Development, SIT, and UAT. All of
We have SQL Server 2005 running on Win2003/64, and we push it hard. We
I have SQL Server database and I just realized that I can change the
I have a SQL Server 2000 DTS package. One of the steps of this
I have SQL Server 2005 and I am looking for a way to take
I have SQL Server Express and Visual Studio Web Developer Express running on my
We have recently migrated some 30 DTS packages in SQL Server 2000 to SSIS
I have a fairly large SQL Server database; I'd like to pull 4 tables
I have a [SQL 2008] SSIS package that takes a CSV text file and

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.