Added some bitsnpieces
Added some ideas for stored procedure helper functions