[TASK] SQL Updates to prepared statements / optim
Merge pull request #108 from hmspl/sql

[TASK] SQL Updates to prepared statements / optim