JAMES
asked on
IF(not exist .... not working...(for me)
Hi,
I am old to databases but new to Firebird! Could you help with the syntax for the following statement please :-
IF (not exists(select PlayerID from Player where Site = 'SITE' and Alias = 'JAMES'))
insert into Player(Site,Alias) values ('SITE','JAMES')
Im getting invalid token on IF and it's Driving me mad!
Thanks.
James.
I am old to databases but new to Firebird! Could you help with the syntax for the following statement please :-
IF (not exists(select PlayerID from Player where Site = 'SITE' and Alias = 'JAMES'))
insert into Player(Site,Alias) values ('SITE','JAMES')
Im getting invalid token on IF and it's Driving me mad!
Thanks.
James.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.