From ant-dev-return-11842-apmail-jakarta-ant-dev-archive=jakarta.apache.org@jakarta.apache.org Thu Mar 22 23:18:42 2001 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 30815 invoked by uid 500); 22 Mar 2001 23:18:41 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 30760 invoked from network); 22 Mar 2001 23:18:40 -0000 X-Originating-IP: [216.15.33.162] From: "Alex Smith" To: ant-dev@jakarta.apache.org Subject: Re: [ANN] Collecting requirements for Ant2 Date: Thu, 22 Mar 2001 15:18:14 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 22 Mar 2001 23:18:15.0195 (UTC) FILETIME=[5F1896B0:01C0B326] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Peter Donald wrote: [re: foreach vs select ordering semantics] >Well where foreach has been implemented it often does have ordering >semantics (as a matter of fact I can't think of a implementation that > >does not have ordering semantics - can you?). However very few decent > >(I can't think of any) implementations of SQL have ordering semantics >at >that level (people who know the underlying strategy/structures/db >can >force a particular ordering but that was no inherent in SQL last >time I >read about it). All I have to say is that where SELECT has been implemented it often does have ordering semantics too. All databases provide for default ordering where you don't have to specify how to order your result set just as you don't have to say that you want your files from a directory be selected in alphabetical order with foreach. Show me an implementation (database or shell) that doesn't have this and I'll admit I was wrong. > > >SELECT * FROM MyTable WHERE (SELECT ...) is roughly equivalent to > > > >foreach $file in MyDirectory > > foreach $extension in $file > > print $file.$extension > >oh really ? Luckily you have that ketword "roughly" eh? ;) Want to tell us the difference? :) Alex Smith Insight LLC _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com