Discover our Clipsal Smart Home packages as seen on the Block

in location

OR

I'm looking for

  • Wholesalers
    • Uncheck All Check All
  • EXPERTISE
    • Expand
    • Expand
    • Expand
    • Uncheck All Check All
  • Switchboard Manufacturers
    • Uncheck All Check All
OR

The best way to see what Clipsal electric products can do for your home is seeing them in action at a Clipsal Display Centre.

Product stock may vary according to location. If you're after a specific product range, please check with your chosen location before visiting.

10 Results
    Load More Load Complete
    Change Location

    How to obtain a list of all constraints in a database

    Issue
    Getting a list of all constraints set in a database.

    Product Line
    Power Monitoring Expert (any version)

    Environment
    SQL Server Management Studio (SSMS)

    Cause
    How to obtain the constraints that are set in a database.  Constraints define the way the Database Engine automatically enforces the integrity of a database by defining rules regarding the values allowed in columns; constraings are the standard mechanism for enforcing integrity.

    Resolution
    The following query returns all constraints (CHECK, UNIQUE, PRIMARY KEY, FOREIGN KEY); it can be run against any database:

    SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS

    For detailed information about constraint types click here.
     

    Didn’t find what you were looking for?

    Try Searching Again View Our Categories

    Need further assistance?

    Our Customer Care department provides total customer service solutions for our residential, industrial and commercial applications.

    Get Assistance