I am sure this is up for debate (or maybe there is an obvious answer).
I am creating a database with several tables that will be updated through a CMS. The Programmer requested Insert, Delete, Edit stored procedures.
Is it better to:
1) create 1 stored procedure to handle all 3 functions per table.
2) create 1 sp for each function and each table
3) try to figure out how to create 1 sp for everything.
4) have the programmer call one sp that determines which stored procedure to send the data too.
just curious.
I am creating a database with several tables that will be updated through a CMS. The Programmer requested Insert, Delete, Edit stored procedures.
Is it better to:
1) create 1 stored procedure to handle all 3 functions per table.
2) create 1 sp for each function and each table
3) try to figure out how to create 1 sp for everything.
4) have the programmer call one sp that determines which stored procedure to send the data too.
just curious.