Have most of the insert sql functions implemented