IKASAN-715 - minor fixes for SQL grammer on Sybase.