unknown
2006-01-18 12:09:35 UTC
Hi,
Using V10
I need to sometime have non clustered index for primary keys
of some tables.
By default creating a PK constraint resulting of clustered
index for MS SQL Server. How can I turn this off and create
sometime an unclustered index for some PK ? I mean, where
can I do that in the Physical model ???
The script produce must be write this way :
/*==============================================================*/
/* Table : T_E_EMPLOYE_EMP
*/
/*==============================================================*/
create table T_E_EMPLOYE_EMP (
EMP_ID D_N_ID identity,
T_E_EMP_ID D_N_ID null,
EMP_NOM D_A_NOM not null,
EMP_MATRICULE D_A_MATRICULE not null,
constraint PK_T_E_EMPLOYE_EMP primary key (EMP_ID)
NONCLUSTERED
)
go
Thanks a lot
FB
Using V10
I need to sometime have non clustered index for primary keys
of some tables.
By default creating a PK constraint resulting of clustered
index for MS SQL Server. How can I turn this off and create
sometime an unclustered index for some PK ? I mean, where
can I do that in the Physical model ???
The script produce must be write this way :
/*==============================================================*/
/* Table : T_E_EMPLOYE_EMP
*/
/*==============================================================*/
create table T_E_EMPLOYE_EMP (
EMP_ID D_N_ID identity,
T_E_EMP_ID D_N_ID null,
EMP_NOM D_A_NOM not null,
EMP_MATRICULE D_A_MATRICULE not null,
constraint PK_T_E_EMPLOYE_EMP primary key (EMP_ID)
NONCLUSTERED
)
go
Thanks a lot
FB