Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 4 of 4 total |
LAST AUTOINC |
Sun, Feb 18 2007 10:42 AM | Permanent Link |
Bill edwards | LAST AUTOINC is ignored in DBISAM V3.xx?
|
Mon, Feb 19 2007 6:38 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Bill,
<< LAST AUTOINC is ignored in DBISAM V3.xx? >> In what SQL statement ? CREATE TABLE ? ALTER TABLE ? -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Feb 19 2007 9:30 AM | Permanent Link |
Bill Edwards | "Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:
>>Bill, In what SQL statement ? CREATE TABLE ? ALTER TABLE ? Tim, I was using the following to create a table in DBSys: DROP TABLE IF EXISTS "X_ACCTSETS"; CREATE TABLE IF NOT EXISTS "X_ACCTSETS" ( "ItemNo" AUTOINC, "OldItemNo" INTEGER, { . . . } "Tr_PolOther" MEMO, "Tr_PolTerror" MEMO, PRIMARY KEY ("ItemNo") COMPRESS FULL LANGUAGE "English (USA)" SORT "Default Order" LAST AUTOINC 100000 ); I then opened the table and added a couple of new records (also in DBSys); the Autoinc field "ItemNo" began at 1 (not 100001). So, I surmise that either it's not supported or I'm using it incorrectly. |
Tue, Feb 20 2007 7:10 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Bill,
<< Tim, I was using the following to create a table in DBSys: >> It appears to be a bug in 3.x. I tried it with 3.30 and it exhibits the same behavior. The workaround is to include this statement after the CREATE TABLE: ALTER TABLE "X_ACCTSETS" LAST AUTOINC 100000 -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |