Just because t0009 "works" with SQL Server doesn't necessarily mean that the test code is correct. CHAR and VARCHAR are different types. strcmp() will never correctly equate a properly-created three-character varchar field with a six-character space-padded field. Sybase creates the varchar field correctly, and the test fails. Ambiguous tests don't prove anything.