Book a Demo

Author Topic: SQL field comments get messed up after DDL import  (Read 4031 times)

DaveO

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
SQL field comments get messed up after DDL import
« on: July 14, 2004, 02:38:26 pm »
When I reverse my SQL 2000 table back into my EA diagram (with selecting the "Synchronize Table Comments" option) it messes up all the comments for the fields (attributes).  I'm not sure what it's doing, but it copies some comments over others, shuffles some, and leaves some untouched.

E.g.
Before synch:
Field 1:  Comment 1
Field 2:  Comment 2
Field 3:  Comment 3
Field 4:  Comment 4
Field 5:  Comment 5
Field 6:  Comment 6

After synch:
Field 1:  Comment 1
Field 2:  Comment 2
Field 3:  Comment 2
Field 4:  Comment 5
Field 5:  Comment 3
Field 6:  Comment 6

It's really weird, and I've reproduced it a few times now.

I know that when I generate the DDL it uses the wrong Name for the sp_addextendedproperty call (it uses 'remarks' when it should be using 'ms_description'), but even if I don't fix this it still messes up my comments in EA after the import.  Very odd :)
« Last Edit: July 14, 2004, 02:38:44 pm by DaveO »

hd

  • EA Administrator
  • EA User
  • *****
  • Posts: 312
  • Karma: +0/-0
    • View Profile
Re: SQL field comments get messed up after DDL imp
« Reply #1 on: July 14, 2004, 03:56:13 pm »
Thanks for pointing that out - we will investigate ASAP.