Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

show unique constraint mysql

select distinct CONSTRAINT_NAME
from information_schema.TABLE_CONSTRAINTS
where table_name = 'TableName' and constraint_type = 'UNIQUE';
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #show #unique #constraint #mysql
ADD COMMENT
Topic
Name
1+5 =