I'm new to ERwin, so please be patient.
I've designed a table with the following columns:
LimitCode: Char(20)
LimitType: Char
LimitName: Char(20)
HoldUse: Char
Aim: Float
MinTol: Float
MaxTol: Float
LimitCode and LimitType form the primary key.
When ERwin generates the table, the order of the table is: LimitCode,
LimitName, LimitType, HoldUse, Aim, MinTol, MaxTol. Why does ERwin do this?
Thank you
Jim
JPL
It is always best with ERwin to have it create the SQL as a text file and then
proof-read and edit it.
Daniel A. Morgan
- mark
In article <376EB231...@exesolutions.com>,
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
>When ERwin generates the table, the order of the table is: LimitCode,
>LimitName, LimitType, HoldUse, Aim, MinTol, MaxTol. Why does ERwin do this?
Erwin is probably using the order in which you added the
columns to the model. I'm not sure how to change that in
Erwin, but you could have Erwin output the creation SQL to a
script file, and edit the script to change the order. I
never let Erwin make changes directly anyway. Another
alternative is not to worry about it. In your case, using
CHAR fields, I don't think that the column order will
matter.
Jonathan
_____________________________________________________
jona...@gennick.com
http://gennick.com
Brighten the Corner Where You Are
> turning off Column/Physical
>Storage should fix your problem..
Turning off Physical Order during the generation phase fixed the problem.
Thanks a bunch!
Jim
JPL
> In your case, using
>CHAR fields, I don't think that the column order will
>matter.
I want to use MS Access to fill in the table, rather than writing SQL code. By
setting up a simple MS Access form in the order in which I expect simplifies
the initiation of the table.
Again, thanks for your help
Jim
JPL