Hi dear reader
thanks for devoting your precious time.
Here my question is
i have a table tblChallanNumber
i want to write a store procedure such that 1st i select the last entered challan number and then add 1 to this and then insert incremented challan number at the same table.
and finally i want to select the new challanNumber to print .
and importantly i want to do the above all work in a singe store procedure.
thanks.





Kapil Singh KumawatRank #735 · 3.2K reputationPosted Jul 4, 2018, 3:56 AM EDT
Bikash SahuRank #1,750 · 863 reputationPosted Jul 15, 2018, 9:15 AM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Jul 15, 2018, 10:22 PM EDT
Cynthia SathuragiriRank #937 · 2.2K reputationPosted Jul 15, 2018, 8:37 PM EDT