SQL Scripts as on 22nd June 2014