select lastSerial from Sequence where name='general'
go

