Hi @ lavanyadeepak
> My guess is that constraint names are auto-generated in the databases and hence causes this difference. Is there an option to avoid such auto-generation and give a fixed name for the constraints.
Yes, if constraint_name is not supplied, a system-generated name is assigned to the constraint. System generated constraint name can be different, so please explicitly provide names to constraint and use it later on. Refer to the blog Beware of the System Generated Constraint Name.
If the response is helpful, please click "Accept Answer" and upvote it, thank you.