application prefix_ operation prefix_ description of database objects involved (minus the spaces between underscores - had to put spaces in for them to appear).
operation prefixes we use -
- “get” – returns a recordset
- “ins” – inserts data
- “upd” – updates data
- “del” – deletes data
e.g
wmt_ ins _ customer _details
"workforce management tool, insert details into customer table"
advantages
All stored procedures relating to the same application are grouped together by name. Within the group, stored procedures that carry out the same kind of operation (e.g. inserts, updates, etc.) are grouped together.
This system works well for us, having approx. 1000 stored procedures in one database off the top of my head.
Haven't come across any disadvantages to this approach so far.