Does ProvideX PVX+ support a case statement using the ODBC driver? I am currently writing it like the following:

SELECT
CASE WHEN IC_UM_BY_ITEM.OK_SELLING = 'Y' THEN 1 ELSE 0 END AS isdefault
FROM IC_UM_BY_ITEM
有帮助吗?

解决方案

Unfortunately, ProvideX doesn't support CASE statements. A list of supported functions are available here:

PVX+ ProvideX manual

In the manual, navigate to "PxPlus ODBC Driver > Using the ODBC Driver > Scalar Functions" for a list of functions that work in ProvideX queries.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top