At my work everyone has sql snippets that they use to answer questions. Some are specific to a customer, while some are generic for a given database. I want to consolidate those queries into a library/repository that can be accessed by anyone on the team. The requirements would be:
- Accessible
- Searchable
- Tagable (multiple tags allowed per sql)
- Exportable (create a document containing all queries with certain tags)
I'm interested in what has been found to work in other team environments.