• Is COUNT a valid expression in SQL DB2 in iSeries?

    Can I use COUNT in SQL DB2 in iSeries for row partitions? I've tried to run the following query: select COUNT(1) over (partition by COL1, COL2) from MyTable and received the following error message: [Message SQL0401] Token ( is not a valid token. A partial list of valid tokens is , FROM INTO. How...

    ITKE1,142,555 pointsBadges:
  • Crystal Formula – Maximum of a Running Total/Count?

    Hi Everyone, I have a Crystal Report with the usual group headers/footers & detail section. On my detail section I have a 'running total' it is a count function and it counts the number of lines based on a Unique Reference Number But my problem is that I want to get the Maximum of this count. So,...

    Paullyie10 pointsBadges:
  • count physical files

    How can I count all the physical files on a System i?

    Vitome5 pointsBadges:
  • Displaying the COUNT in a SQL database

    I have the following information available from my SQL database: Incident Type COUNT ADHOCREPAIR 13 CONSEXCHANGE 7094 ENTERPRISE 21189 FONECARE 38996 FONECAREEXCHANGE 6280 FONECAREPRIORITY 1251 POSTALEXCHANGE 929 POSTALREPAIR 4575 RETOUT 1 I also have the specification that ADHOCREPAIR CONSEXCHANGE...

    SQL Server Ask the Experts2,585 pointsBadges:
  • Count several columns Group by accounts Greater than value Beginner

    I need to be able to count how many values are greater than 1 for each StuNum. I have only been able to count how many values are greater than 1 for each StuNum for d1 or for d2 or for d3, but not for d1, d2 and d3. How can I have it count multiple columns. Table StuNum – SchNum – Tchnum – d1...

    Ben Pinto5 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following