Solved

Cross Tab Query in Interbase 6

Posted on 2001-06-26
7
278 Views
Last Modified: 2010-05-18
How do i wriite cross tab query in interbase6.
0
Comment
Question by:princemahesh
  • 3
  • 2
  • 2
7 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6230106
?
select afield, sum(afield2), max(afield3) from tablelist where condition group by afield


alternate
use the decissioncube-components
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6230307
Hi princemahesh,
meikl :)

I saw crosstab query in MS Access. It's different from SQL statements usually we use :-) There is no analog for Interbase.

Try to use decissioncube as meikl told you, or prepare result in memory and then put it into grid.

-----
Igor.
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6230446
hi igor ;-)
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:princemahesh
ID: 6230629
Where can i find decissioncube-components.
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6230649
It should be in "Decision Cube" component palette.
0
 

Author Comment

by:princemahesh
ID: 6230717
I have installed delphi5 Professional but it is not showing me the decisioncube components.  
0
 
LVL 9

Accepted Solution

by:
ITugay earned 50 total points
ID: 6230763

"Decision Cube CrossTab for multidimensional analysis of data" components pack available only in enterprise edition.

btw, it located in dcldss50.bpl (~83kb size). Not sure about licensing agreement, but you can try to download this file somewhere.

-----
Igor.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question