missing some parenthesis from db.SmallInteger()