Home Forums SQL Server 2008 SQL Server 2008 - General Uncertain JOIN condition - are there settings that control how it is tolerated? RE: Uncertain JOIN condition - are there settings that control how it is tolerated?

  • I'm not sure what you mean by "settings", but one method you could use to make the update statement "fail" is to add a constraint:

    ALTER TABLE #a WITH CHECK

    ADD CONSTRAINT _check CHECK (id < 100) ;

    Not sure, if this is what you're lokking for though...

    As a side note: your statement I don't care if the the val=100 or 200 sounds scary to me...



    Lutz
    A pessimist is an optimist with experience.

    How to get fast answers to your question[/url]
    How to post performance related questions[/url]
    Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]