pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Bolt Thrower <tyr@teiresias.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: SQL question
Date: Fri, 1 Feb 2002 11:38:47 -0800 (PST)
Message-ID: <20020201113627.O27951-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <3C5205F4.DB54E6C@teiresias.net>


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.




view thread (9+ messages)  latest in thread

Message-ID: <20020201113627.O27951-100000@megazone23.bigpanda.com>
Permalink:  ../20020201113627.O27951-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20020201113627.O27951-100000@megazone23.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, tyr@teiresias.net
  Subject: Re: SQL question
  In-Reply-To: <20020201113627.O27951-100000@megazone23.bigpanda.com>
  References: <3C5205F4.DB54E6C@teiresias.net> <20020201113627.O27951-100000@megazone23.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox