I have different database schemas for Dev, Test and Prod. When I export my Jobs to Test, Do I need to import new table definitions from the Test Schema and update my Queries in all the jobs or is there any other way to handle this situation.
Thanks,
Deep.
How to handle different DB schemas for Dev, Test and Prod
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 14
- Joined: Fri Sep 03, 2004 2:50 pm
- Location: NJ
The usual approach is to put values that can (and should) change into job parameters - things like file paths, DB userids/passwords/schemas/instances.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Never use fully qualified schemas, rely on synonyms. If a schema is needed, use job parameters. On the table names, leave off the schema and make sure you alias the name of each table without the schema name so that the DERIVATION column in the definitions is correct.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
Avoid anything that requires a modification and recompile of your job in testing or production. Any job property that you need to change to get it to work in testing should be changed to a job property. This includes database details and file paths. You can change job parameters without recompiling the job.
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
-
- Participant
- Posts: 107
- Joined: Wed Sep 29, 2004 10:15 am