posted 13 years ago
Hi,
Which is the best way to generate a primary key. Say, for example I have one table Student and in that I have a student Id. Now how can I generate it as an automated key.
I don't want to use sequencing or auto increments. I want to do with a business logic, so how can I achieve that?
Regards,
Ankit Mishra (SCJP 5.0 93%), (SCWCD 5.0 97%)