[AccessD] Partition Function A97

Jim DeMarco Jdemarco at hshhp.org
Mon Feb 10 13:41:00 CST 2003


Shouldn't the following SQL work in A97?  I can get the Partition function working in a loop in a test module but not when I try to run it against a table.
I'm running this against the Northwind Orders table to test and get "This expression is typed incorrectly or is too complex..." error anytime I try to use Partition in a query.  Works fine in A2K though.

<sql>
SELECT DISTINCTROW Partition([Freight],0,1000,50) AS Range, Count(Orders.Freight) AS Count
FROM Orders
GROUP BY Partition([Freight],0,1000,50);
</sql>


TIA,

Jim DeMarco
Director of Product Development
HealthSource/Hudson Health Plan



***********************************************************************************
"This electronic message is intended to be for the use only of the named recipient, and may contain information from HealthSource/Hudson Health Plan (HS/HHP) that is confidential or privileged.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited.  If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HS/HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message.  Thank You".
***********************************************************************************




More information about the AccessD mailing list