IF (SELECT COUNT(CONFIGID) FROM CONFIG WHERE SECTIONSTR='MediWEB' AND KEYNAME = 'Hasta online randevu alirken isimini girmeli')=0
	INSERT INTO CONFIG (PROGNAME,SECTIONSTR,KEYNAME,VALUESTR) VALUES ('MEDISOFT','MediWEB','Hasta online randevu alirken isimini girmeli','1')
GO
UPDATE CONFIG SET VALUESTR = 1 WHERE KEYNAME = 'Hasta online randevu alirken isimini girmeli'