0

I am attempting to union together 2 queries in progress DB Unfortunately, this is returning me a syntax error. Are union queries unsupported in progress DB?

     SELECT 0, 'All'
     UNION ALL
     SELECT custcode, custname
     FROM pub.pv_customer
1
  • 1
    What error are you getting? Does Progress allow select without from? Feb 12 at 17:08
2

That may depend on what version of OpenEdge you are querying. Reasonably modern releases do support UNION:

https://www.progress.com/docs/default-source/openedge/progress-openedge-sql-compliance-to-core-sql-2011.pdf?sfvrsn=0

(this applies to OpenEdge 11.5 and above)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.