i am creating query for hospital patient opd
i want that opd no shuld be reset and start with 1 on date change like
Date opdNo
20-01-2016 01
20-01-2016 02
20-01-2016 03
20-01-2016 04
20-01-2016 05
21-01-2016 01
21-01-2016 02
21-01-2016 03
22-01-2016 01
22-01-2016 02
Is it possiable in sql ??
please help
Thanks
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Manas MohapatraPosted Jan 25, 2016, 1:58 AM
Raja TPosted Jan 24, 2016, 11:23 PM