Click here to Skip to main content
15,896,730 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have to generate id for customers automatically like "sp001" ..........identity takes only integer values .......how will i achieve this task..........please help me.

thanks in advance.
Posted

1 solution

Take a look at thi similar thread
how to increment varchar in sql server 2008 r2[^]
 
Share this answer
 
Comments
Abhishek Pant 29-Dec-12 4:35am    
+5
__TR__ 29-Dec-12 5:07am    
Thank you :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900