Searched refs:ItemSQL (Results 1 – 2 of 2) sorted by relevance
922 my $ItemSQL = $SQL{$Item}->{Stmt};923 my $WhereORAnd = ( $ItemSQL =~ m/\s+where\s+/i ) ? 'AND' : 'WHERE';929 $ItemSQL .= " ${ WhereORAnd } communication_id IN (${ CommunicationSELECT })";932 $ItemSQL936 $SQL{$Item}->{Stmt} = $ItemSQL;948 $ItemSQL .= " ${ WhereORAnd } ${ ColumnDBName } = ?";951 $ItemSQL955 $SQL{$Item}->{Stmt} = $ItemSQL;
503 $ItemSQL="SELECT tenderitems.tenderid, variable521 $ItemResult=DB_query($ItemSQL);