Author Topic: DDL generation  (Read 3744 times)

plelovsky

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
DDL generation
« on: December 13, 2005, 03:18:56 am »
Hi all,

1) how to include the 'ON DELETE CASCADE' clause of foreign key definition into generated DDL script for MS SQL Server?

2) how to exlude the note text of an operation with stereotype <<trigger>>, to not appear in generated script?

Thanks,
Pavel

hd

  • EA Administrator
  • EA User
  • *****
  • Posts: 312
  • Karma: +0/-0
    • View Profile
Re: DDL generation
« Reply #1 on: December 13, 2005, 01:59:25 pm »
Quote
1) how to include the 'ON DELETE CASCADE' clause of foreign key definition into generated DDL script for MS SQL Server?

Open Operation Properties (select the table and press F10). Highlight the FK operation and select the Extended Properties... button.

Quote
2) how to exlude the note text of an operation with stereotype <<trigger>>, to not appear in generated script?

Currently the note field is the trigger body. In the future the trigger body will be entered in the Initial Code field of the Behaviour tab, and the note field will become the trigger comment.

wayne222

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: DDL generation
« Reply #2 on: December 13, 2005, 02:34:00 pm »
hi

i seem to be having about the same trouble in editing the template. i would like the template to be able to display more information but i don't seem to be able to grasp the language. does any one know what languagge this templae is writern in so i can edit it. :)
the help on editing this template is very minimal any help at all would be great. i seem  to be stuck.

plelovsky

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: DDL generation
« Reply #3 on: December 13, 2005, 09:55:19 pm »
>> Open Operation Properties (select the table and press F10). Highlight the FK operation and select the Extended Properties... button.

.. there is a dialog there containing Index properties - Unique, Clustered, Ascending, Descending. What do I have to do there to solve my problem?

Pavel
« Last Edit: December 18, 2005, 11:08:51 am by plelovsky »