To add this discussion i would like to submit my own work. I have been working on a system that will allow some elements of the software to maintain its self as changes are made during development. this scripts below where my starting point.
here is a script that generates select, insert and update statements
here is the script to remove stored procedures generated with the previous script