Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Primary Index

Status
Not open for further replies.

mvnrk

Programmer
Jun 14, 2001
15
US
Hi

Can we update Unique Primary Index field/value in a table.If so, does it effects AMP distribution after update?

Thanks
mvnrk
 
You can't change the diffinition of the primary index without creating/reloading the table
 
You can't modify the PI definition, but you can update a row's PI value:
new PI value -> new RowHash -> new AMP responsible for that row -> the same as delete/re-insert that row, all SIs have to be maintained, too.

Dieter
 
The only way to change a PI value is to delete the row and re-insert with new PI value.

-----------------------------------
The TROUBLE with TROUBLESHOOTING is that TROUBLE usually SHOOTS BACK!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top