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

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?
Updated 28-Apr-10 23:09pm

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