Hi Frank Sebastián Franco Hernández
failed with the following error: "La tabla 'Excel Destination' ya existe."
From the error message, it seems that the table still exists so you cannot create the same table.
You may use only one execute sql task component to drop and create table with below sample code, there is no need to use two.
DROP TABLE IF EXISTS SQLTest
CREATE TABLE SQLTest (
PersonID int,
LastName varchar(255),
FirstName varchar(255),
Address varchar(255),
City varchar(255)
);
insert into SQLTest values
('1','2','3','4','5')
Or you may use truncate table first and then load data you want to the sql.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.