Jump to content

Talk:Check constraint

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Abdull (talk | contribs) at 15:34, 26 September 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconDatabases (inactive)
WikiProject iconThis article is within the scope of WikiProject Databases, a project which is currently considered to be inactive.

Remark

Added links to this page from:

http://en.wikipedia.org/wiki/Update_%28SQL%29

http://en.wikipedia.org/wiki/Insert_%28SQL%29

http://en.wikipedia.org/wiki/SQL-92

http://en.wikipedia.org/wiki/Virtuoso_Universal_Server

This article currently has the following examples

Some examples of dangerous constraints include:
CHECK ((select count(*) from invoices where invoices.customerId = customerId) < 1000)
CHECK (dateInserted = CURRENT_DATE)
CHECK (countItems = RAND())

What is "dangerous" with these check constraints? --Abdull (talk) 15:34, 26 September 2012 (UTC)[reply]