Faire plusieurs if dans un procedure stockee

Résolu
cs_chris81 Messages postés 589 Date d'inscription jeudi 2 octobre 2003 Statut Membre Dernière intervention 29 avril 2008 - 2 janv. 2005 à 14:21
cs_chris81 Messages postés 589 Date d'inscription jeudi 2 octobre 2003 Statut Membre Dernière intervention 29 avril 2008 - 3 janv. 2005 à 22:42
bonjour,

comment puis je faire pour verifier plusiseurs if dans la meme procedure stockee c'est a dire

if not exist(SELECT Id FROM...) et if not exists(SELECT Id...) et If not exists(SELECT Id ...)

http://www.correzeweb.com
http://www.localetv.com
A voir également:

2 réponses

cs_fabrice69 Messages postés 1765 Date d'inscription jeudi 12 octobre 2000 Statut Membre Dernière intervention 11 décembre 2013 5
3 janv. 2005 à 22:32
Tu as essayé comme ca ?

------------------
IF NOT exist(SELECT ....) AND NOT exist(SELECT ...) AND NOT exist(SELECT ...)
BEGIN
....
END
ELSE
BEGIN
....
END
------------------

Romelard Fabrice (Alias F___)
3
cs_chris81 Messages postés 589 Date d'inscription jeudi 2 octobre 2003 Statut Membre Dernière intervention 29 avril 2008 2
3 janv. 2005 à 22:42
merci

http://www.correzeweb.com
http://www.localetv.com
0
Rejoignez-nous