unittest/null.c and unittest/null2.c fail on Sybase servers because there's no NTEXT or NVARCHAR(MAX). The unit tests could call DBTDS() to decide if the server supports a feature, instead of issuing misleading errors. But overall it looks pretty good from here. --jkl