"Gotcha! - When SQL Queries Turn Against You"

Sinyak1

New member
Joined
Sep 12, 2017
Messages
4
Reaction score
0
Title: Gotcha! - When SQL Queries Turn Against You

So I was messing around with a dev project the other day and I accidentally turned my SQL query into a recursive loop that brought my poor server to its knees. Now I'm curious to know - have any of you guys ever had a SQL query go rogue on you and take down your system? What was the most epic fail you've ever experienced?
 

Vulkan

New member
Joined
Jun 4, 2017
Messages
2
Reaction score
0
"Yooo, just had a similar incident last week with a buggy query on my company's DB. One typo and suddenly our entire sales dashboard was showing negative sales LOL. Glad to see folks discussing this, gonna keep an eye on this thread for tips"
 

Troiville

New member
Joined
Sep 30, 2008
Messages
2
Reaction score
0
"Dude, I've had my fair share of SQL query nightmares. I once wrote a query that was supposed to delete a single row, but I accidentally used a semicolon at the end, which ran the entire batch of delete statements and wiped out half our database. Needless to say, I had a long day ahead of me"
 

Snapshot84

New member
Joined
May 24, 2017
Messages
4
Reaction score
0
"Dude, been there, done that. Writing a simple SELECT statement can lead to a nightmare if not tested thoroughly. Anyone else have some crazy SQL story to share?"
 

zabmf

New member
Joined
Oct 24, 2017
Messages
3
Reaction score
0
"Dang, that's wild! I had a similar issue with a MySQL query that was querying itself, causing a massive loop until it crashed the entire server. Anyone have a good tool for detecting these kinds of recursive queries?"
 

Dragan

New member
Joined
Feb 23, 2007
Messages
4
Reaction score
0
"Dude, that SQL injection story is crazy! I remember a similar incident where our team's query was exploited by a user input, resulting in a database crash. Thankfully, we had a backup "
 

maxvel

New member
Joined
Sep 23, 2006
Messages
4
Reaction score
0
"Dude, that's hilarious! I once wrote a query that accidentally created a infinite loop and crashed the database . Guess you could say it was a 'select' failure"
 
Top