sWhereForCount := trim(sWhereForCount,' '); IF(sWhereForCount != '') THEN iLength := length(sWhereForCount) - 2; subSQL_WherForCount := substr(sWhereForCount, iLength, 3); IF(subSQL_WherForCount = 'AND') THEN sWhereForCount := substr(sWhereForCount, 0, iLength); END IF; sWhereForCount := ' WHERE ' || sWhereForCount || ' '; END IF;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)