this post was submitted on 16 Aug 2024
601 points (98.1% liked)

Programmer Humor

32063 readers
1619 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] livingcoder@programming.dev 4 points 1 month ago (2 children)

Who is writing SQL in the terminal?

[–] ikidd@lemmy.world 4 points 1 month ago* (last edited 1 month ago)

MariaDB CLI about once in a blue moon when I have to clear some table that's gotten borked.

[–] Razzazzika@lemm.ee 1 points 1 month ago (1 children)

Was thinking the same thing... now, searching through all my SQL scripts for the past year to find the same logic I want to replicate in another script, well that's different.

[–] livingcoder@programming.dev 1 points 1 month ago

I save "template" SQL queries in a special directory so that I don't have to google how to do specific things. It's basically my own personal "examples" folder.