Book a Demo

Author Topic: Generating Indexes  (Read 2965 times)

Supe

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Generating Indexes
« on: September 18, 2015, 08:42:04 am »
Is it possible when generating DDL on a table you can just generate the index(es)?

At the moment when generating a table through Code Engineering - Generate DDL it generates the CREATE TABLE as well.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Generating Indexes
« Reply #1 on: September 18, 2015, 07:59:24 pm »
I think that it should be possible to copy the DDL code gen macro and modify it to just generate indexes.

q.

Supe

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Generating Indexes
« Reply #2 on: September 21, 2015, 07:15:22 am »
I've tried just selecting the indexes however it still creates the tables.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Generating Indexes
« Reply #3 on: September 21, 2015, 07:28:18 am »
AH. It looks like the DDL code generation has been integrated. I seemed to remember that it once was just a code gen macro which could be modified. I guess in that case you need to send a feature request (or write your own script to generate the DDL which should probably not be too difficult).

q.