473,779 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OLAP-Functions missing in DB2 Express-C?

DB2 Express C (Fixpack 10, WR21362_15462) seems to be lacking some of
the OLAP functions available in other editions, such as ROW_NUMBER,
RANK and DENSE_RANK, but does provide sum(..) over (partition by ...
range between ..). Is there a documented list of functions that are
available in this version of DB2? Thanks.

N. Shamsundar
University of Houston

Jun 17 '06 #1
4 2849
me****@gmail.co m wrote:
DB2 Express C (Fixpack 10, WR21362_15462) seems to be lacking some of
the OLAP functions available in other editions, such as ROW_NUMBER,
RANK and DENSE_RANK, but does provide sum(..) over (partition by ...
range between ..). Is there a documented list of functions that are
available in this version of DB2? Thanks.

Impossible. How do you get the idea?
Try:
SELECT ROW_NUMBER() OVER() FROM SYSIBM.SYSDUMMY 1
Should return: 1

There are 0 limitations to SQL in DB2 Express C

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Jun 17 '06 #2
Serge Rielau wrote:
me****@gmail.co m wrote:
DB2 Express C (Fixpack 10, WR21362_15462) seems to be lacking some of
the OLAP functions available in other editions, such as ROW_NUMBER,
RANK and DENSE_RANK, but does provide sum(..) over (partition by ...
range between ..). Is there a documented list of functions that are
available in this version of DB2? Thanks.

Impossible. How do you get the idea?
Try:
SELECT ROW_NUMBER() OVER() FROM SYSIBM.SYSDUMMY 1
Should return: 1

There are 0 limitations to SQL in DB2 Express C

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/


Thanks for your reply. The message I receive is

------------------------------------------------------------------------------------------------------------
s:\>db2 SELECT ROW_NUMBER() OVER() FROM SYSIBM.SYSDUMMY 1
SQL0440N No authorized routine named "ROW_NUMBER " of type "FUNCTION"
having
compatible arguments was found. SQLSTATE=42884.

s:\>db2level
DB21085I Instance "DB2" uses "32" bits and DB2 code release "SQL08023"
with
level identifier "03040106".
Informational tokens are "DB2 v8.1.10.1155", "special_15462" ,
"WR21362_15462" ,
and FixPak "10".
Product is installed at "C:\PROGRA~1\IB M\SQLLIB".
------------------------------------------------------------------------------------------------------------

However, this was (sorry, I did not state this earlier, not realizing
that it was relevant) when Express-C was run on a DB (I tried two such,
the Sample DB and my own) that had been created with DB2 WSE, FP-11.

When the DB is recreated with Express-C and loaded with data, the
problem disappears.

Jun 17 '06 #3
me****@gmail.co m wrote:
Serge Rielau wrote:
me****@gmail.co m wrote:
DB2 Express C (Fixpack 10, WR21362_15462) seems to be lacking some of
the OLAP functions available in other editions, such as ROW_NUMBER,
RANK and DENSE_RANK, but does provide sum(..) over (partition by ...
range between ..). Is there a documented list of functions that are
available in this version of DB2? Thanks.

Impossible. How do you get the idea?
Try:
SELECT ROW_NUMBER() OVER() FROM SYSIBM.SYSDUMMY 1
Should return: 1

There are 0 limitations to SQL in DB2 Express C

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/


Thanks for your reply. The message I receive is

------------------------------------------------------------------------------------------------------------
s:\>db2 SELECT ROW_NUMBER() OVER() FROM SYSIBM.SYSDUMMY 1
SQL0440N No authorized routine named "ROW_NUMBER " of type "FUNCTION"
having
compatible arguments was found. SQLSTATE=42884.

s:\>db2level
DB21085I Instance "DB2" uses "32" bits and DB2 code release "SQL08023"
with
level identifier "03040106".
Informational tokens are "DB2 v8.1.10.1155", "special_15462" ,
"WR21362_15462" ,
and FixPak "10".
Product is installed at "C:\PROGRA~1\IB M\SQLLIB".
------------------------------------------------------------------------------------------------------------

However, this was (sorry, I did not state this earlier, not realizing
that it was relevant) when Express-C was run on a DB (I tried two such,
the Sample DB and my own) that had been created with DB2 WSE, FP-11.

When the DB is recreated with Express-C and loaded with data, the
problem disappears.

I'm taking a wild guess here.. Could it be that the system timestamp was
played with.
I.e. if the system time is earlier than the creation of the database
function resolution gets all confused because it can't see function
created in the future.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Jun 17 '06 #4
Serge Rielau wrote:
I'm taking a wild guess here.. Could it be that the system timestamp was
played with.
I.e. if the system time is earlier than the creation of the database
function resolution gets all confused because it can't see function
created in the future.


That's actually intended to avoid breakages in packages due to a different
function resolution upon re-bind, I think.

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Jun 19 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2565
by: mrwoopey | last post by:
Hi, My OLAP data cube is giving me the following error when I am manipulating OLAP data cube views: "the data being processed is over the allowed limit" I know that this message is caused by the size limit of each form field that is retrieved in the Request object is 102,399 bytes. The error occurs when I exceed this limit.
7
3577
by: Will | last post by:
On the subject of Data Warehouses, Data Cubes & OLAP…. I would like to speak frankly about Data Warehouses, Data Cubes and OLAP (on-line analytical processing). Has it dawned on anyone else that these buzz words were created by some geek who decided to take a stab at marketing? Knowing that to the backwoods manager who knows little of technology that new innovative names for old concepts would help to sale their products. I mean...
0
3372
by: DD | last post by:
Hi Guys! Just would like to share with you my experiense in this matter. I was trying to evaluate how suitable Oracle OLAP for our applications. As probably you did, I have downloaded from OTN website OraJDeveloper and BI Beans, installed them and opened Cube Viewer ... no luck! Just did not work. After very long conversation(s) with Oracle Support I finally figured
7
2241
by: Will | last post by:
On the subject of Data Warehouses, Data Cubes & OLAP…. I would like to speak frankly about Data Warehouses, Data Cubes and OLAP (on-line analytical processing). Has it dawned on anyone else that these buzz words were created by some geek who decided to take a stab at marketing? Knowing that to the backwoods manager who knows little of technology that new innovative names for old concepts would help to sale their products. I mean...
5
2455
by: Framework fan | last post by:
Hello, If I wrote the next ebay (yes I know, yawn-snore) and I had a database with 5 million auction items in it, what would be a really good strategy to get a search done very quickly? Would it involve something called OLAP and/or "data mining"? The only technology I am familiar with is simply SQL Server databases with stored procedures. I think I'd be guessing correctly and say that this technology simply wouldn't be fast enough *on...
1
2397
by: serge | last post by:
When I start creating a new DTS Package and I choose the Analysis Processing Task icon, I only have the option of working with the local Microsoft Analysis Server. How can I choose a remote server's Analysis Server in order to process its database? Thank you
2
5229
by: Gadi Refaeli | last post by:
Hello All, We are currently considering DB purchases for a new system, we are looking at Cognos, Oracle, DB2 and Essbase. We came across some questions regarding Essbase and DB2 OLAP. 1. Are DB2 OLAP and Essbase are identical? 2. Does the standard Essbase SDK is provided with DB2 OLAP? 3. Does EIS is provided with DB2 OLAP? 4. Is there a way to get a "translation table" between DB2 OLAP and
3
2745
by: Eduardo Quiroz Salinas | last post by:
do someone knows where can i get a good tutorial or how to make OLAP cubes.???? thanx a lot -- Linux user number 344659 "...Los que no requieren de un dios para ser virtuosos, son la desesperacion de los creyentes..."
0
1682
by: YellowFin Announcements | last post by:
Yellowfin Reporting Announces Release 3 OLAP Connectivity New Features Including OLAP-to-Relational Drill Through Provide Customers with One Complete Web BI Tool for OLAP Analysis Yellowfin, today announced the availability of Yellowfin Release 3, the newest version of the leading query, reporting, and analysis tool for the web. Release 3 provides web access to all major relational and online analytical processing (OLAP) sources,...
0
1534
by: YellowFin | last post by:
Yellowfin Announces Release 3 OLAP Connectivity New Features Including OLAP-to-Relational Drill Through Provide Customers with One Complete Web BI Tool for OLAP Analysis Yellowfin, today announced the availability of Yellowfin Release 3, the newest version of the leading query, reporting, and analysis tool for the web. Release 3 provides web access to all major relational and online analytical processing (OLAP) sources, intelligent...
0
10305
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10137
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9928
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7483
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2867
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.