Top "Constraints" questions

A constraint is a condition that has to be fulfilled in a given context.

Setting default value for DATE type column to current date without time part?

NOTE: The question is about DATE type, not Datetime or Timestamp How to alter column of date data type to …

mysql constraints mysql-5.6
How to get the name of a unique constraint in postgresql?

I need to drop a unique constraint from a postgresql table, but I didn't give it a name in the …

sql postgresql constraints unique-constraint
MySQL terminology "constraints" vs "foreign keys" difference?

I'm looking at the MySQL docs here and trying to sort out the distinction between FOREIGN KEYs and CONSTRAINTs. I …

mysql foreign-keys constraints ddl
What is the purpose of constraint naming

What is the purpose of naming your constraints (unique, primary key, foreign key)? Say I have a table which is …

sql database constraints naming
Certificates Basic Constraint's Path Length

Is having a Path Length of 0 and None the same thing for Basic Constraint's of a CA type? To clarify, …

path certificate constraints
MS SQL "ON DELETE CASCADE" multiple foreign keys pointing to the same table?

I have a problem where i need a cascade on multiple foreign keys pointing to the same table.. [Insights] | ID | …

sql sql-server foreign-keys constraints cascading-deletes
add constraints programmatically swift

I am trying to add constraints to a facebook sdk login button. I have the button inside a scroll view …

ios swift constraints nslayoutconstraint
Can there be constraints with the same name in a DB?

This is a follow-on question from the one I asked here. Can constraints in a DB have the same name? …

sql sql-server sql-server-2005 tsql constraints
C# Generics won't allow Delegate Type Constraints

Is it possible to define a class in C# such that class GenericCollection<T> : SomeBaseCollection<T> …

c# generics events delegates constraints
Change height constraint programmatically

I want to change the height constraint of a UITextView programmatically so I set the constraint as an outlet in …

ios height constraints autolayout