Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > User-defined ag...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 9072 of 9520
Post > Topic >>

User-defined aggregate functions and OLAP windowing

by jefftyzzer <jefftyzzer@[EMAIL PROTECTED] > Jul 9, 2008 at 03:01 PM

Friends:

In v8 or v9 LUW, if I were to write (in Java or C) my own user-defined
aggregate function, would I be able to use it in an OLAP windowing
clause as I could use, e.g., COUNT or SUM?

Example:

SELECT
   JEFFS_UDAF()  OVER(PARTITION BY SOME_COL)
FROM
   SOME_TABLE;

--Jeff
 




 4 Posts in Topic:
User-defined aggregate functions and OLAP windowing
jefftyzzer <jefftyzzer  2008-07-09 15:01:21 
Re: User-defined aggregate functions and OLAP windowing
"Dave Hughes" &  2008-07-09 17:40:08 
Re: User-defined aggregate functions and OLAP windowing
jefftyzzer <jefftyzzer  2008-07-09 16:47:55 
Re: User-defined aggregate functions and OLAP windowing
Knut Stolze <stolze@[E  2008-07-10 10:54:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 21:17:09 CST 2008.