ProvideX PVX+ SQL Case Statement
-
26-12-2019 - |
题
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:
In the manual, navigate to "PxPlus ODBC Driver > Using the ODBC Driver > Scalar Functions" for a list of functions that work in ProvideX queries.
不隶属于 StackOverflow