Top "Constraints" questions

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

Is there a way to get the constraints of a table in SQLite?

The command "pragma table_info('tablename')" lists the columns information and "pragma foreign_key_list('tablename')" the foreign keys. How …

sqlite list constraints pragma
Changing column constraint null/not null = rowguid replication error

I have a database running under Sql server 2005 with merge replication. I want to change some of the FK columns …

sql-server sql-server-2005 constraints ssms merge-replication
Can someone explain size hint, size policy, size constraint in QT?

Can anyone give a clear explain of these 3 concept? What's the difference and how to use them?

qt size constraints hint
Set priority on constraints in swift

I've been struggling to make priority on constraints work programmatically in swift. My goal is to have the meetingFormView no …

swift constraints programmatically
Android, handle SQLiteConstraintException

I've got this method in Android: public void insertarTitulo(String _id, String title, String url){ ContentValues cv = new ContentValues(); cv.…

android sqlite exception handle constraints
How to query any constraint's target list without knowing the constraint type?

In Maya, I have a list of constraints gathered by the following code. I want to iterate the constraints and …

python 3d constraints maya mel
GETDATE in DEFAULT constraint on some tables in SQL Server 2012

As u expect I have got problem with GETDATE in DEFAULT constraint on some tables in SQL Server 2012. I have …

sql sql-server constraints getdate
Copying table constraints from select * into

Does select * into B from A also copy constraints of A on B ? If not, then how can I copy …

sql sql-server select constraints select-into
How do I create a Rails migration that updates a foreign key with an on-delete cascade constraint?

I’m using Rails 4.2.3 and a PostgreSQL database. I want to write a migration to update one of my foreign …

ruby-on-rails-4 foreign-keys migration constraints cascade
What is point of constraint validation @Null?

I was checking list of available constraints in javax.validation package and I noticed that there is an annotation @Null …

jakarta-ee constraints bean-validation