I have records from oracle in tuple, I'm trying to execute bulk insert statement in snowflake using python, but I'm facing escape character issue.
Input:
('Sample',1234,"Here is escape' need",9700,'final')
output:
('Sample',1234,'Here is escape'' need',9700,'final')
I have tried using regular expression to capture the string between double quotes and tried with replace function but it is not worked.
Input:
('Sample',1234,"Here is escape' need",9700,'final')
output:
('Sample',1234,'Here is escape'' need',9700,'final')