Pages

▼
Showing posts with label unique-constraints. Show all posts
Showing posts with label unique-constraints. Show all posts
Friday, September 23, 2016

MySQL list all foreign key and other constraint names

›
SELECT TABLE_NAME, COLUMN_NAME, CONSTRAINT_NAME, REFERENCED_TABLE_NAME, REFERENCED_COLUMN_NAME FROM INFORMATION_SCHEMA.K...
Tuesday, October 1, 2013

Grails domain class: unique constraint for multiple columns

›
Suppose a simple Grails domain class: class Account { String countryId ; String userName ;       String areaId;   ...
›
Home
View web version
Powered by Blogger.