DEV Community

Discussion on: What's the worst code you've ever written?

Collapse
 
hesoyamm profile image
Kishore kunal

I once worked on a SQL query that took seven days to execute. Exact same situation.

Collapse
 
ben profile image
Ben Halpern

Aghhhhhh!

Did things ever fail after 5 days and you need to start over? I mean β€” sometimes I'm running a script that requires me to keep my laptop open and I forget that. πŸ˜…

Thread Thread
 
hesoyamm profile image
Kishore kunal

So it started Like executing for
2 days : Didn't execute, abort
3 days :Didnt work, abort
5 days: Didnt work, abort
finally it was long weekend and i executed it in my cloud virtual machine.
7 days : Finally Done.

ibb.co/6XRc7Xt : See this.