If EXISTS ( SELECT group_name FROM demo WHERE id= '' id")
BEGIN
SELECT 'Record EXIST'"
END
ELSE
BEGIN
INSERT INTO demo (name,address) values('abc','xyz')
END
Here the table name is demo and there is three fields id,name and address
BEGIN
SELECT 'Record EXIST'"
END
ELSE
BEGIN
INSERT INTO demo (name,address) values('abc','xyz')
END
Here the table name is demo and there is three fields id,name and address
No comments:
Post a Comment