On Fri, Nov 6, 2015 at 7:04 PM, Nelson, Erik - 2 <
erik.l.nelson at bankofamerica.com> wrote:

> select quarter(t1.a) from t1 .... ;
>
> I might hope to get 'a' or 't1.a'.  Any ideas?
>

UDFs (in any scripting environment) don't get that level of info. They
only get passed the values resolved by the surrounding evaluation engine.

By the same token (no pun intended), in JavaScript:

var x = 3;
quarter(x);

gets only the number 3, not any information about where that 3 comes from
or how it was derived.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf

Reply via email to