Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Automatic ID Data Type (12 replies)

$
0
0
Hi All

I am trying to get my head around this data type, with specific reference to working with SQL flavours other than the HyperSQL stuff where the primary field will auto-increment using and internal sequence generator. Think PG. What does the Automatic ID Data Type setting do when a non-HyperSQL database is addressed? Does it ignore the field and leave it up to the DB to do the incrementing or does it interfere in any way? I am asking as I have a weird situation that has arisen that I am trying to get my head around. It seems as though the sequence value in one table has gone adrift and needs resetting when using other languages [duplicate primary key value returned] but WX quite happily continues to inserts record into the same table without returning any errors and the record is actually inserted. As the other languages and tools are returning a duplicate on the PK because the sequence value has gone wonky with WX inserts still work. I am baffled - and concerned that WX may be messing with the counter.

Any ideas?

Cheers
André

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>