Click here to Skip to main content
15,565,474 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,

Can anyone help me? I have created a table and with a primary key called "ID". However, I want the "ID" be auto increment as well.

Here is my question, how can I do in the following format:
"PIC0001", "PIC0002", "PIC0003", ............ etc.

Anyone can help me?
Posted
Updated 29-Apr-10 0:09am
v3

1 solution

 
Share this answer
 

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