ABOUT PRIMARY and SECONDARY INDEX
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


ABOUT PRIMARY and SECONDARY INDEX Expand / Collapse
Author
Message
Posted 8/12/2008 11:56:14 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 9/8/2008 7:42:33 AM
Posts: 22, Visits: 53
Hi,
Can anyone tel me ,

can i careate the Secondray Index on Primary Indexing Columns ?


Best Regards,

Maran A
Oracle Certified & DW+BI Proffessional
Post #12546
Posted 8/12/2008 11:01:28 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 7:30:07 AM
Posts: 197, Visits: 611
Hello,

No you can't, doing so will raise an error "Two indexes with the same columns". Following are couple of examples:

CREATE TABLE Table1 (Col1 INTEGER, Col2 INTEGER) UNIQUE PRIMARY INDEX (Col1), INDEX (Col1);
CREATE TABLE Table1 (Col1 INTEGER, Col2 INTEGER) PRIMARY INDEX (Col1), INDEX (Col1);

Regards,

Adeel
Post #12561
Posted 8/13/2008 1:02:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/17/2008 6:46:55 PM
Posts: 9, Visits: 14
you can use Partition Primary Index (PPI)

Thanks,
atadaret
Post #12568
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 9:52pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.203. 10 queries. Compression Disabled.