What is a DRIDefault?

  • What's the difference between a DRIDefault and a normal Default, if any? I noticed this in the Column object description in SQL-DMO help, but can't find any reference to it in the Books Online!

    Ben

  • There is no real difference. The DRIDefault object (in DMO) allows you to control the Default constraint you add to a column.

    The difference with the Default property of the column object is that this only allows you to set the value. The DRIDefault object also allows you to set a name.

  • NPeeters,

    Thanks for your reply. So they both pertain to the same physical Default object?

    What does the DRI stand-for?

     

    Ben

  • Declarative referential integrity

     

    --
    Frank Kalis
    Microsoft SQL Server MVP
    Webmaster: http://www.insidesql.org/blogs
    My blog: http://www.insidesql.org/blogs/frankkalis/[/url]

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply