Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
dhanu_ec012
Starting Member
6 Posts |
Posted - 2009-05-19 : 01:25:16
|
| get new autogenerated number for every finacial year based on date,Thanks & RegardsDhanaraj |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2009-05-19 : 01:26:39
|
how do you want the number to looks like ? KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
dhanu_ec012
Starting Member
6 Posts |
Posted - 2009-05-19 : 01:30:14
|
quote: Originally posted by khtan how do you want the number to looks like ? KH[spoiler]Time is always against us[/spoiler]
the number should begin with new number for every year and format is like PR09/10:0001 |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
dhanu_ec012
Starting Member
6 Posts |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2009-05-19 : 02:01:31
|
do you have a table that stores the financial period ? Add a column to store the number and when you create record into the table, format the number then. KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
|
|
|