Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
zeeshan13
Constraint Violating Yak Guru
347 Posts |
Posted - 2009-07-30 : 10:20:29
|
| Hi All,I have a simple package in SQL Server Integration Service. See screenshot at following website.http://www.flickr.com/photos/7714646@N07/3771520493/The SSIS package loads an XML source data (XML Source) into a table (SQL Server Destination). Now before I want to load the XML data into the table I want to delete all the records from the table using the command "Deltree from Table". How can I do that? I tried using SQL command but it asks for the input which I dont have.Please help.Thanks...Zee |
|
|
vijayisonly
Master Smack Fu Yak Hacker
1836 Posts |
Posted - 2009-07-30 : 10:25:13
|
| Use an Execute SQL task and type ur delete command in that ....have your data flow task after that. |
 |
|
|
zeeshan13
Constraint Violating Yak Guru
347 Posts |
Posted - 2009-07-30 : 16:04:21
|
| Thanks. It worked.... |
 |
|
|
vijayisonly
Master Smack Fu Yak Hacker
1836 Posts |
Posted - 2009-07-30 : 16:46:25
|
| welcome |
 |
|
|
|
|
|