Archives of the TeradataForum
Message Posted: Thu, 16 Aug 2007 @ 15:34:26 GMT
The way the stored procedure was coded uses two paramenters viz Source DB and Target DB.
This stored procedure also creates the views for you in the target DB.
It takes the column list of the object (View/Table) from DBC.Columns and prepares the column list for the view to be created.
I would suggest you to include a third parameter which could be a table name or view name.
In this case you won't end up creating all views based on objects in Source DB.
Does that make sense?
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|