![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I need to reorder the primary key of a table. Say, Primary Key (field1, field2) changed to: Primary Key (field2, field1) Would like to know if this creates any problem to the database? |
#3
| |||
| |||
|
|
I need to reorder the primary key of a table. Say, Primary Key (field1, field2) changed to: Primary Key (field2, field1) Would like to know if this creates any problem to the database? |
#4
| |||
| |||
|
|
"t53864" <t53864 (AT) yahoo (DOT) com> wrote in message news:9e76ab37.0409020505.501f06d7 (AT) posting (DOT) google.com... | I need to reorder the primary key of a table. Say, | | Primary Key (field1, field2) | | changed to: | | Primary Key (field2, field1) | | Would like to know if this creates any problem to the | database? sort of -- all FKs would be dropped when the PK is dropped, and then recreated with the new column order explicitly indicated do a little testing to see the effects ++ mcs |
#5
| |||
| |||
|
|
[Case1] Primary Key (field1, field2) index for (field1, field2) or (field2, field1) or *(field1)*. |
|
[Case2] Primary Key (field2, field1) index for (field1, field2) or (field2, field1) or *(field2)*. |
![]() |
| Thread Tools | |
| Display Modes | |
| |