Re: more closed-world chatter

From: Jon Heggland <jon.heggland_at_idi.ntnu.no>
Date: Mon, 07 May 2007 08:03:30 +0200
Message-ID: <f1mfiq$8a1$1_at_orkan.itea.ntnu.no>


David Cressey wrote:
> If the language includes casting functions, it should be possible to using
> them to join on attributes with different types. Consider Marshall's
> scenario, with the two types, namely int and string. Consider also the
> function str(i) which takes an int as an argument and returns the
> corresponding string.
>
> now we can join on attributes i and s by saying something like
>
> "where a.s = str(b.i)"

That's neither here nor there. I wouldn't say you're joining on i and s anymore. s and str() have the same type.

-- 
Jon
Received on Mon May 07 2007 - 08:03:30 CEST

Original text of this message