Toad World® Forums

Spaces in physical models

I am using spaces in my logical models, as these are heavily used in the enterprise. I found a macro from removing spaces in physcial models, but I would like to replace the spaces with underscores. Is there a simple way to do this?

Hi, the simplest way to do it is to write a macro for it. You can make use of our macros from Library as examples.

  1. In the cycle, you must go through all the objects you want the change with (entities, attributes, relationships etc.)
  2. Replace space with underscore for every item
  3. Refresh Model and Workspace in the end

Regards,
Lukas