![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a SSIS componet that can move data from one table to another (not copy but move)? |
#3
| |||
| |||
|
|
Hello John230873, In one component? No. You will have to do the transfer and then delete the data. Allan Is there a SSIS componet that can move data from one table to another (not copy but move)? |
#4
| |||
| |||
|
|
Can I use the loop for each componet, if I could I have not idea how, any good reading on SSIS as I have the hot labs and the microsoft on line couse btu I can't seem to find much examples on SSIS and how to use it. If all this fails I think of using a cursor with a select into and delete command. "Allan Mitchell" wrote: Hello John230873, In one component? No. You will have to do the transfer and then delete the data. Allan Is there a SSIS componet that can move data from one table to another (not copy but move)? |
#5
| |||
| |||
|
|
Hello John230873, Here's a funky solution. You have a proc which does the inserts and you have one that does the deletes. You use an OLEDB Command Transform. Have a look at this artice and see if it gives you any ideas. http://wiki.sqlis.com/default.aspx/S...tyColumns.html Of course this will be Row* Row so maybe you would like to read from a recordset using the ForEach loop similar to http://www.sqlis.com/default.aspx?59 Allan Can I use the loop for each componet, if I could I have not idea how, any good reading on SSIS as I have the hot labs and the microsoft on line couse btu I can't seem to find much examples on SSIS and how to use it. If all this fails I think of using a cursor with a select into and delete command. "Allan Mitchell" wrote: Hello John230873, In one component? No. You will have to do the transfer and then delete the data. Allan Is there a SSIS componet that can move data from one table to another (not copy but move)? |
#6
| |||
| |||
|
|
Hello John230873, Here's a funky solution. You have a proc which does the inserts and you have one that does the deletes. You use an OLEDB Command Transform. Have a look at this artice and see if it gives you any ideas. http://wiki.sqlis.com/default.aspx/S...tyColumns.html Of course this will be Row* Row so maybe you would like to read from a recordset using the ForEach loop similar to http://www.sqlis.com/default.aspx?59 Allan Can I use the loop for each componet, if I could I have not idea how, any good reading on SSIS as I have the hot labs and the microsoft on line couse btu I can't seem to find much examples on SSIS and how to use it. If all this fails I think of using a cursor with a select into and delete command. "Allan Mitchell" wrote: Hello John230873, In one component? No. You will have to do the transfer and then delete the data. Allan Is there a SSIS componet that can move data from one table to another (not copy but move)? |
![]() |
| Thread Tools | |
| Display Modes | |
| |