Project

General

Profile

Actions

Bug #11347

closed

If Bedingungen funktionieren nicht korrekt

Added by Christoph Fuchs over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Christoph Fuchs
Target version:
-
Start date:
20.10.2020
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

Description

Wenn ich im sql =
einen Eintrag habe:

...
      )AS fm_count_members,
      ( SELECT 
         if(count_members <> fm_count_members,
            1,
            0
         )
      ) AS not_equal,      ...

   erhalte ich eine Fehlermeldung.

erst wenn ich 

if(count_members <> fm_count_members,
            '1',
            '0'
         )

1 und 0 mit '' umgebe funktioniert es.

Actions

Also available in: Atom PDF