× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have used STRSQL and have typically created the identity field with a separate alter table statement after creating the other columns (not sure *why * do it that way, now that I think about it). The ALTER statement is similar to:

ALTER TABLE departments ADD COLUMN ID INTEGER NOT NULL generated
always as identity
Maybe I can't specify the "generated always as identity" in the STRSQL prompt so that is why I added the identity field separately. I'd have to play with it to find out, but the alter table syntax does work for me.

Pete


Booth Martin wrote:
How do I create a file with an Identity Column field as the key?

Can this be done with STRPDM and DDS?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.