These Two Will Be Married In 100 Days - Ch. 74 - Day 74

Tch, that's why you never give junior devs access to your production environment
 
protips:
- always use backups
- use 2 different mysql clients, one for production, another for local/dev
 
*Me who doesn't have any skill or knowledge whatsoever about programming...
also me: WHAT A DUMBASSES HAHAHAHA!!!!
 
So I'm super novice at sql.

Don't you need to state what you want to delete from the table for it to work?

Like DELETE * FROM tbl_customer

or DELETE 'customer1' FROM tbl_customer?

Edit:

@MPnoir

Ooof

He should have read this: https://www.goodreads.com/book/show/4959551-the-manga-guide-to-databases

I'm...probably going to buy that.
 
Ooga we are men of the programme yes

Aa he did the program i must speak out in the programme's name yes i must

Interpreter has no stupid codes, silly dumb cartoon man 🙄 what idiocy must this man of drawings hold to delete SQL *pfft* i am real human who see you are wrong pitiful anime boy
 
I don't know about codes/programming or whatever it's called, but I can feel he's gonna delete some important shit. And just for being distracted in work.
 
MbMdpCb.jpg
 
@gartender

You do but there's quite a bit of space between the DELETE and the rest so I'm assuming they're blocking out the "*". Either way, it's not going to be good for him.
 
A newly hired touching customer db from day 1? My oh my I don't have a good feeling about the company itself.
 
If anyone's curious about the script, if you run it and since the script doesn't have filters, it'll delete the whole customer data/info on that table's database. In short, he's going to fuck up really bad if they don't have a back up database.
 
Jesus, the only saving grace is he isn't dropping the entire table but that's not much of a consolation

DON'T RUN THAT SCRIPT.

@gartender selectors like * are only required for, well, select. * means "all columns". A normal delete script is just DELETE FROM tablename.
 
@Mogima Python or Ruby are both very forgiving and have huge amounts of available resources to learn from, many of which are free. They're often recommended as beginner languages because their highly readable syntax and structure allow someone unfamiliar with programming to focus more on learning higher level concepts rather than getting bogged down in minutiae.
 

Users who are viewing this thread

Back
Top