Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g11Jcll83796 for ; Fri, 1 Feb 2002 14:38:47 -0500 (EST) (envelope-from sszabo@megazone23.bigpanda.com) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id EA0D1D5F7; Fri, 1 Feb 2002 11:38:47 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id DDB935BF7; Fri, 1 Feb 2002 11:38:47 -0800 (PST) Date: Fri, 1 Feb 2002 11:38:47 -0800 (PST) From: Stephan Szabo To: Bolt Thrower Cc: Subject: Re: SQL question In-Reply-To: <3C5205F4.DB54E6C@teiresias.net> Message-ID: <20020201113627.O27951-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200202/9 X-Sequence-Number: 3171 On Fri, 25 Jan 2002, Bolt Thrower wrote: > In the query: > > select field, length(field) from table where length(field) < 10; > > How many times is the length() function called for each row? Once or > twice? Pretty sure it'll be twice.