Hello @Rohit Boddu ,
Thanks for the ask and also using the Microsoft Q&A.
As per my understanding you have the source as ADLS Gen2 and the sink is SQL and you are using the ADF copy activity . In the above scenario the append( to the sql table ) is the default behaviour . So all the record in the file on ADLS gen2 will be inserted into the SQL . In the event you want to go the overwrite route , you can use insert all the records in the file into a staging table on the SQL DB and then use SQL Procedure ( you can use the stored proc actrivity ) to call a stored proc which is read the staging table and update/insert records to the main table .
Please do let me know if you have any further questions on this .
Thanks Himanshu
Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members