Fix for sybase