create unique primary key [message #484196] |
Sun, 28 November 2010 23:52 |
theowais
Messages: 75 Registered: October 2009 Location: Multan
|
Member |
|
|
Hi Experts,
A Master fom in a tabular format. Id is a display item. I want to auto generate Id with following query.
select nvl(max(issue_id),0)+1 into :issue_mt.issue_id from issue_mt;
It works:
1)When each record is saved before creating new record.
It doesn't work:
2)If multiple records are entered with out saving each record.
What to do to generate unique Id in both cases?
|
|
|
|
|
|
|
|
|
|