Reputation: 33
I am running an insert query towards an oracle DB, where I am getting an error which says column not allowed here.
the value I am entering for date is :
'ToDate('11/01/21','dd/mm/yyyy')'
- > I get column error
ToDate('11/01/21','dd/mm/yyyy')
-> I don't get error if I remove the quotes.
as the value is coming from a dictionary I want to know how can I remove the quotes at the end . I tried strip()
its not working looks like it doesn't think that quotes are there at the end.
Upvotes: 0
Views: 60