SQL Procedure Generation v0.1