on 09-25-2015 12:20 PM
Hello there,
I was wondering, if it is possible to adjust the file name for DDL scripts according to the object type.
E.g. I have a table "Product" and I would like to have the script name to be "Product.table_create.sql
If I have a view "Product" I would like to have the script name to be "Product.view_create.sql"
We're using the Teradata V14 DBMS Resource File.
I wish I could just adjust the constant ScriptExt within the Teradata DBMS Resource File (Script -> Sql -> File) to something like "%OBJECTTYPE%_create.sql" But unfortunately that does not work.
Am I simply using the wrong variable? Or does it not work that way at all? Does anybody have a suggestion?
Thanks in advance!
Best Regards
Dortje
Hello Dortje
I can't see any way of doing this - perhaps someone who knows the internal workings of DB generation may have an answer.
Raise this on SCN as an enhancement request.
George
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answers. I was actually looking for something to avoid writing new Resource DBMS Files. But I already guessed that it might not be possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.