Hi Guys
Hopefully someone can point me in the right direction.
I'm using an ODBC driver to connect to a Progress Database
'Progress OpenEdge 10.2B Driver'
Everything seems to work fine until I try and use the GROUP BY clause
SELECT pub.sfeventcds.mach-id
FROM pub.sfeventcds
WHERE ( pub.sfeventcds.start-time >= :from_time ) AND
( pub.sfeventcds.end-time <= :to_time ) AND
( pub.sfeventcds.mach-id = :mach_id ) AND
( pub.sfeventcds.stat-code = '700' )
GROUP BY pub.sfeventcds.mach-id
When I try and run I get this error
Any ideas?
Thank You Tom
It definitely is connected to the "-" PB is expecting "_".
Based on your message I went back in and converted to SQL, then tried changing from "-" to "_" in the SQL window
Initially PB gave me an error, so I then changed it back from "_" to "-". BUT, then when I tried to run the script it worked. Seems like PB wants you to change and then change back before it works. Strange, but that seems to be the solution.
Thank you very much and Happy New Year
Tom
Happy New Year to you too!