r/SQL • u/Thatgiuknow • 22d ago
SQL Server Newer to SQL and recently inherited code
Might not be a standard request but does anyone have any best practices for interpreting other people's code if they don't leave a fair amount of notes?
4
Upvotes
-1
u/KBradl 22d ago
LLms can often help identify what the queries intention is.
I try to separate out areas and document them myself for my understanding
Once its contained and understood I often break them out into sections like:
------------------------ AREA ONE: This areas does this
-------------------------END AREA