Is ora_hash deterministic?

前端 未结 2 1389
遥遥无期
遥遥无期 2020-12-16 17:33

I am working with an Oracle database and I need to be able to partition the data in a table. I understand that Rracle has an ora_hash function that can partition the data i

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-16 17:48

    Jon Heller's answer has some more details, so go upvote his answer. Since this is the accepted answer still, I'll inline part of his response:

    ORA_HASH is definitely deterministic for data types that can be used for partitioning, such as NUMBER, VARCHAR, DATE, etc.

    But ORA_HASH is not deterministic for at least some of the other data types, such as CLOB.

提交回复
热议问题