Importing ODBC table defs
Posted: Wed May 19, 2004 8:54 am
When I import an ODBC table definition, then load the column definitions into an ODBC stage, I have a problem. The "derivation" for each column includes the database name, table owner, and table name.
e.g.
Instead of having "customer_name" in the derivation, it has "dev_db.dbo.customer_tbl.customer_name".
This causes problems when I promote this job to another environment, because "dev_db" is now named "prod_db" (for example). So during my development, I have to manually edit the derivation for every database column and remove the database name so that it will work in all environments.
Is there a way to prevent this behavior?
e.g.
Instead of having "customer_name" in the derivation, it has "dev_db.dbo.customer_tbl.customer_name".
This causes problems when I promote this job to another environment, because "dev_db" is now named "prod_db" (for example). So during my development, I have to manually edit the derivation for every database column and remove the database name so that it will work in all environments.
Is there a way to prevent this behavior?