Very very big problem
Dear friends I have one table having columns date and serial no. I want to generate sr no when date changes.its datatypes are datetime and int in sql server. and i am sending parameter through date time picker
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mamta MRank #268 · 9.4K reputationPosted Dec 8, 2010, 11:04 PM EST
Suthish NairRank #92 · 22.8K reputationPosted Dec 9, 2010, 9:19 AM EST
Typing such a subject line is not acceptable. Next time, please take care.
Set sr no as Primary Key.
Set as IsIndentity to Yes
Set Indentityincrement by 1
Mayur Gujrathi85 reputationPosted Dec 9, 2010, 5:39 PM EST
Suthish NairRank #92 · 22.8K reputationPosted Dec 9, 2010, 5:51 PM EST
Hope your query got resolved or let us know...