Re: SQL
Posted: Tue Aug 19, 2014 11:05 am
I made a test with your SQL-statment. The only thing is changed is one more "(" and ")":
Your source:
My source:
In my case it does not work? What could be another reason?
Your source:
Code: Select all
SELECT Belegnummer, Belegart FROM KHKVKBelege WHERE (Periode = 2014006) AND ((Belegart = 'Sofortrechnung' OR Belegart = 'Direktrechnung' OR Belegart = 'Rechnung'))
Code: Select all
SELECT Belegnummer, Belegart FROM KHKVKBelege WHERE (Periode = 2014006) AND (Belegart = 'Sofortrechnung' OR Belegart = 'Direktrechnung' OR Belegart = 'Rechnung')