on 2024 Nov 27 4:45 PM
Hello,
For the creation of sequences, I need to define an OWNER for it:
alter sequence myUSER.mySEQUENCE owner to myUSER;
I have coded in the resource file, in SCRIPT / OBJECTS / SEQUENCE / AFTER_CREATE:
alter sequence [%QUALIFIER%]%SQNC% owner to %.13:QUALIFIER%;\n
The "." is always generated after %QUALIFIER% if the owner length is less than 13! How can I ensure it is never generated?
Thank you
Request clarification before answering.
Hello,
The code '(%.13:QUALIFIER%)' extracts the first 13 characters of the variable '%QUALIFIER%', which corresponds to the value of the user code plus the period (.) in the dot notation.
To meet your requirements, you should use 'alter sequence [%QUALIFIER%]%SQNC% owner to %Owner.Code%' instead.
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 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.