I am working on a small project that capture customer details, Using C Sharp in Visual Studio 2010 and a SQL database.
Now i need to make my customer ID to be stored as follow, The ID needs to consist of one alphabetic characters A, B, C, D or E followed by EXACTLY EIGHT Numeric digits, these number needs to be left padded with zeroes to have exactly eight digits.
generated number may not unique, when inserting new record you may need to check whether generated ID already exist or not.