r/SQL • u/Happieeman • 14d ago
Discussion SQL HACKS
Hello guys,
I work as a SQL Developer. What productivity hacks or practices do you follow in your day-to-day office work?
For example:
- I create a new SQL script every morning, naming it with the current date (SYSDATE), to keep track of my daily work.
- I maintain an Excel sheet listing the database objects I've created, along with remarks about each object.
What other useful productivity hacks or practices do you follow?
I'd love to learn from your experience!
0
Upvotes
View all comments
1
u/GaniToshido 14d ago
Ditch the Excel sheet for object tracking, babysitting external docs is an unnecessary pain that always gets out of sync. In my MariaDB setups, I slap a
COMMENTstring directly onto the table and column definitions when creating them. When I need a data dictionary, I queryinformation_schemato pull a live report of what I've built. It keeps the documentation living inside the engine itself, so you never have to guess if your spreadsheet is outdated.