Implementing support for sql server sequences