Hi
I am trying to read a file from a folder with data to be loaded into an sql table, previously i would use the post sql to remove duplicates but we need to improve this - so I thought
read contents of new file get min and max date from a column,
then build a delete query using these dates - can do this
then pass the delete query to sql to run the delete - cant do this
I have attached an image of how i was trying to do it using chats but have got nowhere, i have tried a dynamic input and even tried a macro but cant get my head round how to do this - and it seems so simple
any thoughts links on how to do this - with a delete from query
have looked at a few videos and doesnt seem like anyone has done like this