Updated expected sql
CORE-1661 Add support for MSSQL sequences
CORE-1661 Add support for MSSQL sequences

Fixed sequence select sql
CORE-1661 Add support for MSSQL sequences

Fixed sequence select sql
Merge commit 'a9844863339f24a2c72ddaa81b3a6ef30b653f33' into LB-3.1-testing