How to list all tables having unique constraints in any of
the columns in a database.

Answer Posted / rama krishna

select * from INFORMATION_SCHEMA.TABLE_CONSTRAINTS where
constraint_type='unique'

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concept of view and Types of views in SQL server?

614


Explain what is meant by replication of database?

525


Explain concepts of analysis services?

504


Does partitioning help performance?

524


what are different types of backups available in sql server? : Sql server database administration

490






What is rank function?

600


How to specify the collation for a character data type in ms sql server?

544


What are different types of roles provided by ssrs?

112


What programming language would you use to create embedded functions in ssrs?

122


Explain features of analysis services?

514


Why I am getting this error when renaming a database in ms sql server?

535


What is 4nf in normalization form?

558


What are scheduled tasks in sql server?

537


How do you send email on SQL Server?

572


what are the three command line utilities and what are their primary functions?

101