Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can the users not specify primary key when create a table in Berkeley DB 11gR2?

0
Posted

Can the users not specify primary key when create a table in Berkeley DB 11gR2?

0

Yes, when you create a table in Berkeley DB 11gR2, you do not need to specify a primary key. In this case, Berkeley DB 11gR2 will create an implicit integer “row ID” column as the primary key, so if you specify a non-integer primary key, there will be a second table that maps the primary key to the row ID.

0

Yes, when you create a table in Berkeley DB 11gR2, you do not need to specify a primary key. In this case, Berkeley DB 11gR2 will create an implicit integer row ID column as the primary key, so if you specify a non-integer primary key, there will be a second table that maps the primary key to the row ID. There are two Berkeley DB tables in that case: • the primary table containing the complete row, with integer keys (row IDs) that are managed by SQLite; • the index that maps application key -> row ID.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123