vb.net - Create custom autoid with date -
i want generate autoid date date 06 july 2013. id
should q/xy/130701
13 means year, 07 means month, , 001 should auto increment.
autoid
q/xy/130701
q/xy/130702
q/xy/130703
.. ..
q/xy/130710
q/xy/1307100
then if next month,the id change
q/xy/130801
q/xy/130802
and on.. want create autoid once enter 1 record database , autoid generated , call out database display @ gui. suggestion it? database sql server 2008. should alter http://www.codeproject.com/articles/491733/auto-generated-sequence-number-in-sql-server?
Comments
Post a Comment