"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx> wrote on 02/06/2018
12:09:49 PM:
I have a DDL table with an identity column defined. Some new rows
are created with a 0 value. I didn't think that was possible. Any
ideas?

For reference, here's the column definition:
"ID" INTEGER GENERATED ALWAYS AS IDENTITY (
START WITH 1 INCREMENT BY 1
NO MINVALUE NO MAXVALUE
NO CYCLE NO ORDER
CACHE 20 )


It is normally not possible. However, someone may have ALTERed
the column to change the GENERATED ALWAYS clause. I would check on that,
first. SYSCOLUMNS can show you that.


Sincerely,

Dave Clark

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.