Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
the SQL statements don't change DDS in any way...right?
CRPence on Tue, Feb 14, 2012 3:34 pm wrote:
On 14-Feb-2012 12:13 , fbocch2595@xxxxxxx wrote:
If an SQL TABLE is OK, then review this scenario:
if I add a new field to a PF, is there a way the system can assign a
unique value to the new field without updating the field within the
program code? I've been told it can so I figured if anyone would
know how it would be you folks.
<<SNIP>>
/* action: have database assign a unique value to the */
/* new\added column for all existing rows */
alter table id
add column i int not null generated always as identity
( start with 0 increment by 1 cycle)
add constraint id_i_pk primary key (i)
; -- ALTER completed for table ID in LIB
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.