Question
Catching dashes (-)
Hi all,
I have some issues finding null values. The column EISBE in the Marc table returns a numeric value. All values greater than 0 are classified as MTS. Values that are 0 are classified as MTO. However, this column has many null entries (around 70-80%) that I would like to consider as MTO as well. My code:
CASE WHEN MARC.EISBE > 0 THEN MTS Material > 0
WHEN MARC.EISBE = 0 THEN MTO Material because 0
WHEN ISNULL(MARC.EISBE) = 1 THEN MTO Material because null
WHEN MARC.EISBE IS NULL THEN IS NULL
END
In the end, the result consists of these values: MTS Material > 0, MTO Material because 0 and -. How can i catch these dashes?
Thanks in advance
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


