![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? |
#3
| |||
| |||
|
|
I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? |
#4
| |||
| |||
|
|
I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? |
#5
| |||
| |||
|
|
I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? |
#6
| |||
| |||
|
|
I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? |
#7
| |||
| |||
|
|
I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? |
#8
| |||
| |||
|
|
I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? |
#9
| |||
| |||
|
|
I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? |
#10
| |||
| |||
|
|
Hi, Rockitman wrote: I'm creating a local package in a 2000 SQL server that FTP's a flat file, transforms this data to a table in an Access database, then transforms this table to a table on the SQL server. We use the Access database for other things, so don't ask why I'm not just moving the data straight to the SQL table. My problem is that unless I put out a clean Access file in the desired directory (by clean, I mean that the table in it is blank) before this package runs, it will error out because it will see duplicate entries in the table. So, how can I clear the contents of this Access table first, using this local package? Which task will do this? Is it possible? you can use SQL (the Access syntax of course): DELETE * FROM tablename HTH, Gerald |
![]() |
| Thread Tools | |
| Display Modes | |
| |