Re: OK wenn nicht vorhanden
Was wäre es einfach nur die Treffer zu zählen?
SELECT COUNT(*) FROM tbl WHERE id=100 AND menge>0
- Ist das Ergebnis = 0 , dann gibt es keine Treffer
- Ist das Ergebnis > 0 , dann gibt es Treffer
Grüße
Thomas
Subject
Views
Written By
Posted
3630
October 29, 2010 03:09PM
Re: OK wenn nicht vorhanden
1271
October 31, 2010 09:26AM
1391
October 31, 2010 11:28AM
1333
October 31, 2010 01:03PM
1194
October 31, 2010 02:58PM
1566
October 31, 2010 03:57PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.