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.
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.