Click here to Skip to main content
15,888,351 members

Comments by developerit (Top 18 by date)

developerit 25-Jan-17 1:28am View    
this submit button is for add to data base only..but the result is same
developerit 12-Sep-16 12:09pm View    
thanks a lot it works for me...
developerit 12-Sep-16 12:08pm View    
thanks a lot it works for me...
developerit 4-Feb-13 6:28am View    
Please any body help me for this issue.....
developerit 2-Feb-13 7:29am View    
ihave changd the procedure to this but still same problem

ALTER PROCEDURE testing(@packcode varchar(50),@phone varchar(10),@startdate datetime=null,@enddate datetime=null)

as
begin
IF EXISTS(select * from Test where packcode=@packcode)

update Test set phone=@phone,startdate=@startdate,enddate=@enddate where packcode=@packcode

else insert into Test(packcode,phone,startdate,enddate)values(@packcode ,@phone ,@startdate ,@enddate )
end
and i changed the code also
and iam passing this date format
2013-02-02T08:27:24.994+03:00
when iam not passing it is giving me error