Login Register Actian.com  

Actian Community Forum



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 2012-08-03   #1 (permalink)
Ingres Community
 
Join Date: Mar 2012
Posts: 19
Default Index creation

Hi,
I am creating two index in a single table but it is throwing error. How to create 2 index in one table using different columns??
mohit_symb is offline   Reply With Quote
Old 2012-08-03   #2 (permalink)
Ingres Community
 
Join Date: Jul 2010
Location: UK
Posts: 306
Blog Entries: 1
Default

Hi. Vectorwise tables can only have one index.

http://docs.actian.com/ingres-vector...sql-statements
geraintjones is offline   Reply With Quote
Old 2012-08-03   #3 (permalink)
Ingres Community
 
Join Date: Mar 2012
Posts: 19
Default

Hi,

thanx...Is there any workaround to do the same.

It created clustered index by deafault. How to create unique index??
mohit_symb is offline   Reply With Quote
Old 2012-08-03   #4 (permalink)
Ingres Community
 
Join Date: Jul 2010
Location: UK
Posts: 306
Blog Entries: 1
Default

You can't create a unique index. If you need to enforce uniqueness, use a constraint.
geraintjones is offline   Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2011 Actian Corporation. All Rights Reserved