|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
Reading closed issues for NX1.01 I thought this was resolved, but: SELECT Cidade, CAST(SUM(Custo) AS Money) AS custo FROM Chamada GROUP BY cidade will give error msg: "Non agreggate column ... must appear in group by" Joao Borges Brazil |
|
#2
|
|||
|
|||
|
forgot to specify that field Cidade is a Nullstring[50] and Custo is a
Extended |
|
#3
|
|||
|
|||
|
Per,
> Why do you need this? How about > > SELECT Cidade, SUM(CAST(Custo) AS Money) AS custo > FROM Chamada > GROUP BY cidade > > ? > > - Per This works ! ... my mistake, Thank you, Joao. |
|
#4
|
|||
|
|||
|
Joao,
Why do you need this? How about SELECT Cidade, SUM(CAST(Custo) AS Money) AS custo FROM Chamada GROUP BY cidade ? - Per "Joao Borges" <suporte@cybermgr.com> wrote in message news:3f859ef3@wic040d.... > Hello, > > Reading closed issues for NX1.01 I thought this was resolved, but: > > SELECT Cidade, CAST(SUM(Custo) AS Money) AS custo > FROM Chamada > GROUP BY cidade > > will give error msg: "Non agreggate column ... must appear in group by" > > Joao Borges > Brazil > |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ann: Join our Facebook fan group :) | Eivind Bakkestuen [NDD] | nexusdb.public.announcements | 0 | 6th May 2010 11:51 PM |
| Error: Error: NexusDB: <unnamed TnxQuery instance>: Query execution failed | Warren | nexusdb.public.support.adoprovider | 1 | 8th April 2010 02:55 PM |
| Automatic cast of boolean filds to integer | Franz-Leo Chomse [NDX] | nexusdb.public.support.odbc | 5 | 5th March 2010 06:51 AM |
| sorry wrong group active when message sent :) | Peter Sanders | nexusdb.public.support.thirdparty | 0 | 19th January 2010 09:33 PM |
| InstantObjects runs for SF CCA 2006! - Please cast your vote ! | Carlo Wolter | nexusdb.public.support.thirdparty | 0 | 16th March 2006 12:28 AM |