What SQL databases support subqueries in CHECK constraints?

前端 未结 6 1890
走了就别回头了
走了就别回头了 2020-12-06 12:47

What SQL databases, if any, support subqueries in CHECK constraints?

At present and as far as I know, Oracle, MySQL, and PostgreSQL do not.

EDIT

6条回答
  •  感情败类
    2020-12-06 13:14

    SQL Server 2000+ allows UDFs that contain queries: you can't use sub-queries directly

    However, they are not concurrent under high loads

提交回复
热议问题