Please tell me a query to find the Primary key,Foreign
key,primary Index,PPI for the Database?

Answer Posted / innocent

--Find indixes.
Select TableName,ColumnName,IndexType,UniqueFlag,IndexName
From DBC.Indices
Where tableName='mytable_name'

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There is a column with date in it. If I want to get just month how it can be done? Can I use sub string?

648


What is inner join and outer join?

620


What is the difference between union and union all in teradata?

628


What is partitioned primary index (ppi)?

575


What is oltp?

574






Explain amp in teradata?

579


Hi, If anyone has TD 14 Basics dumps or study materials, please share. nirmaaal1991@gmail.com

1965


List out some of the primary characteristics of teradata.

562


What is a clique?

587


What are some primary characteristics of teradata?

554


what is sysdba and sysdbc ? which has high priority ?

3376


How is MLOAD Client System restarted after execution?

605


How teradata makes sure that there are no duplicate rows being inserted when its a set table?

565


if collect stats but it show low confidence why?

1194


What are the different methods ot loading a dimension table? A fact table etc?

578