Re: SQL question

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Bolt Thrower <tyr(at)teiresias(dot)net>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: SQL question
Date: 2002-02-01 19:38:47
Message-ID: 20020201113627.O27951-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message bangh 2002-02-01 20:26:57 Re: Sample database for testing?
Previous Message Eduardo Caillava 2002-01-31 22:12:57 Re: postgresql under Windows is slow