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


Delete Excel sheets in DTS


Delete Excel sheets in DTS

Author
Message
gowdara.anu
gowdara.anu
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 11
I have created a DTS package to export data to 15 excel spread sheets. This data has to get refreshed every time i run the DTS. I am using
Drop table 'Excel_Sheet_1' in a SQL task before creating excel temp table. My problem is because i have created 15 excel temp tables for my 15 reports, if one of the table does not exist my SQL task errors out saying 'Table does not exist' when i try to drop the table. So what i want is i want to check whether the table exist before creating excel temp table. Please let me know if you have a solution or if you have any questions.
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