Re: check constraints and null values

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: David Portas (REMOVE_BEFORE_REPLYING_dportas_at_acm.org)
Date: 01/12/05

  • Next message: Jacco Schalkwijk: "Re: check constraints and null values"
    Date: Wed, 12 Jan 2005 22:03:10 -0000
    
    

    You are right. Books Online has it wrong.
    mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%20Server\80\Tools\Books\architec.chm::/8_ar_da_0777.htm

    SQL Server follows the ANSI / ISO Standard behaviour for CHECK and FOREIGN
    KEY constraints: values that are *not FALSE* are permitted. I think it's
    safe to assume that the designers' intention was that this should be the
    case and that Books Online is in error :-).

    -- 
    David Portas
    SQL Server MVP
    --
    

  • Next message: Jacco Schalkwijk: "Re: check constraints and null values"

    Relevant Pages

    • Re: Query training -- Complex queries
      ... > Update PositionsEOM ... Here you don't have a derived table, but a correlated subquery. ... UPDATE in Books Online. ... is not written for SQL Server. ...
      (microsoft.public.sqlserver.server)
    • Re: Linked Server: How to check if server exists?
      ... The root problem is described in the Books Online topic Batches. ... Rick Byham, SQL Server Books Online ... linked server don't run on those development machines not having that linked ...
      (microsoft.public.sqlserver.connect)
    • Re: STORED PROCEDURE - passing table name as a parameter
      ... T-SQL, is that you get problems if the view definition does not fit into ... will need to query other system tables, for instance syscolumns. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
      (comp.databases.ms-sqlserver)
    • Re: Problem when changing Views
      ... There aree several reasons. ... I use neither of the tools, but I guess that Design View resubmits the ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
      (comp.databases.ms-sqlserver)
    • Re: SQL 2005: Help files not valid?
      ... Please try the following instructions to remove and reinstall Books Online. ... If this doesn't solve the problem, we'll need to get the Visual Studio folks ... In Add or Remove Programs, select Microsoft SQL Server 2005, and then ... Complete the remaining steps in the Installation Wizard. ...
      (microsoft.public.sqlserver.setup)