Oracle - Create two tables of different schema with same name in same table space. Is it valid? Does not produce any errors?

StackOverflow https://stackoverflow.com/questions/17623030

  •  03-06-2022
  •  | 
  •  

문제

I Understand that we can have tables with same name as long as they are in different schema. Let say, both schema tables are dumped to same tablespace even then it is valid? I think as per my knowledge it is valid.. Is my understanding correct? Or is there any clause in this scenario? or any other issues?

도움이 되었습니까?

해결책

Yes, it's perfectly valid.

The namespaces in an Oracle database are schemas. Tablespaces are solely related to physical storage of segments. You can't have two tables with the same name in the same schema but you can have as many tables with the same name in the same tablespace.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top