Hello Friends,
I have some problem in sql server.
i created a storeprocedure with compare table [column] date witch difine varchar() and compare to getdate(). when compare it not proper work it gives only current month proper result not[previous or next month]....
update tablename
set DatalinkStatus='Visit Not Successfully' where convert(varchar(10),CallingDateAgree,103)
Thanks...
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Javeed M ShaikhRank #839 · 2.7K reputationPosted May 1, 2013, 6:03 AM EDT
1. Do a select with the where clause and see if you are able to see any data.
2. check the data in CallingDateAgree column in the table if the data is in date format and meets the criteria.
3. if you can print some values from your table and table structure i can try to create the same at my end and try this.