Anyone Could Describe for me what is the meaning of QTY > QTY(500) in following sentence?
CONSTRAINT DBC1 IS_EMPTY ((S JOIN SP) WHERE STATUS<20 AND QTY>QTY(500)); I translate it: status is lower than 20 and quantity is bigger that 500.
please note that just I need meaning of QTY> QTY(500)...
QTY>QTY(500)can never evaluate to true. Also what RDBMS are you using ? MySQL , SQL Server, Oracle ??QTYis greater thanQTY times 500which will never be true. Even ifQTY = 0orQTY IS NULL.