on ‎2018 May 31 5:38 AM
Request clarification before answering.
Hello,
As a workaround, you may run a VBScript after the reverse like the one below which can be included in the XDB file in an AfterDatabaseReverseEngineer Eventhandler for the Metaclass Model.
See in our documentation -> DBMS Resource File Reference > Managing Generation and Reverse Engineering -> Adding Scripts Before or After Generation and Reverse Engineering
' Sample script:
for each t in ActiveModel.Tables
if t.ClassName = "Table" then
for each c in t.Columns
if c.ClassName = "Column" then
if len(c.DefaultValueDisplayed) > 2 and InStr(c.DefaultValueDisplayed,"~") = 1 then
newDefault = c.DefaultValueDisplayed
newDefault = left(newDefault, len(newDefault) - 1)
newDefault = right(newDefault, len(newDefault) - 1)
c.DefaultValue = newDefault
end if
end if
next
end if
next
HTH,
Arnaud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
that is OK!
"our documentation" just means "help document":)
thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.