|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Tuesday, April 30, 2013 11:19 PM
Points: 871,
Visits: 273
|
|
How to delete rows in an excel worksheet?
I have the following code in the exeutesqltask but i keep getting a syntx error.
'DELETE FROM 4DialMeters'
Remeber that this is an Excel source and I need to find out what the correct syntax is for the DELETE Statement in Excel.
Kindest Regards,
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Tuesday, April 16, 2013 8:31 AM
Points: 917,
Visits: 399
|
|
What pray tell is the syntax error?
To be honest, I don't think you can. I seem to remember doing it through script, not SQL. I may be wrong though.
Cheers, Crispin
I can't die, there are too many people who still have to meet me!
It's not a bug, SQL just misunderstood me!
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Wednesday, March 06, 2013 3:02 PM
Points: 268,
Visits: 1,055
|
|
I agree, I think that you'd have to perform a work around... steps would be something like: 1. Import to a temp table 2. Manipulate the records in the temp table 3. Export back to excel overwriting the old file
Kindest Regards,
Frank Bazan @Bikeride2Africa
|
|
|
|