|
Log in | ||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I run this, to get a count of items by year, I get an error saying the
EXTRACT in line 3 is an invalid SQL name. SELECT EXTRACT(YEAR FROM dt), count(*) FROM "transactions" GROUP BY EXTRACT(YEAR FROM dt) "dt" is a Date column. Isn't this supposed to work? Regards. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error: Error: NexusDB: <unnamed TnxQuery instance>: Query execution failed | Warren | nexusdb.public.support.adoprovider | 1 | 8th April 2010 02:55 PM |
| Error SQL for Insert with Group with Non-aggregate column (constant) | hhlee | nexusdb.public.support.sql | 11 | 21st November 2003 10:53 PM |
| Question on Extract/subquery | Don Miller | nexusdb.public.support.sql | 20 | 11th October 2003 08:26 PM |
| NX1.01: Cast with Group By Error | Joao Borges | nexusdb.public.support.sql | 3 | 10th October 2003 05:19 AM |
| NX1 - 'Select' Extract incorrect record when it work with Chinese | Forest Greenland | nexusdb.public.support.sql | 0 | 29th September 2003 10:33 PM |