Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 16 Aug 2003 @ 08:06:29 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Show index
 
From:   Anomy Anom

<-- Anonymously Posted: Friday, August 15, 2003 11:15 -->

Hi,

The following query gives all the inputs necessary for formatting the index definitions.

select indexnumber, columnname, columnposition
from dbc.indices
where databasename = $dbase
and tablename = $tname
and IndexType in ('S', 'P')
order by indexnumber, columnposition



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023