How to fix the Oracle error DRG-10504: primary key is required when using the DETAIL_DATASTORE?

In this post, you’ll learn more about the Oracle ErrorDRG-10504: primary key is required when using the DETAIL_DATASTORE with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

DRG-10504: primary key is required when using the DETAIL_DATASTORE

Reason for the Error DRG-10504: primary key is required when using the DETAIL_DATASTORE

Cause: you tried to use the detail datastore to index a table with no primary key constraint

How to fix the Error DRG-10504: primary key is required when using the DETAIL_DATASTORE ?

You can fix this error in Oracle by following the below steps

Action: add a primary key constraint on the table

Tags :

Leave Your Comment