Removed global SqlStatementID's and made them local.