We have a very old RPD, that has had a lot of developers adding, changing, deleting, etc.
I was trying to copy a portion of the RPD to a new RPD as the result of a request.
I can copy the information in the Physical layer without any problems, but when I try to copy the business layer, I get a very strange
error type situation that pops up. In the SQL, it shows a table that does not exist.
In the physical layer tbl_employee joins to tbl_calendar on a date field.
When I try to copy the business layer to the new RPD,a Metadata Script Execution Error comes up. Here is what it looks like:
DECLARE LOGICAL TABLE SOURCE "Human Resources"."Dim - Time"."tbl_employee" AS "tbl_employee"
PROJECT (
{"Human Resources"."Dim - Time"."cal_date"} AS {"Data Warehouse"."Reference"."dbo"."tbl_calendar"."cal_date"} ,
{"Human Resources"."Dim - Time"."Date Created"} AS {"Data Warehouse"."HR"."dbo"."tbl_employee"."date_HR_rec_created"} )
FROM
(
( "Data Warehouse"."HR"."dbo"."tbl_employee"
( "Data Warehouse"."HR"."dbo"."tbl_employee", "Data Warehouse"."Reference"."dbo"."tbl_calendar", "tbl_calendar_tbl_employee"
LEFT OUTER JOIN
MANY TO ONE)),
( "Data Warehouse"."Reference"."dbo"."tbl_calendar"
( "Data Warehouse"."Reference"."dbo"."tbl_calendar", "Data Warehouse"."HR"."dbo"."tbl_employee", "tbl_calendar_tbl_employee"
RIGHT OUTER JOIN
ONE TO MANY))) CAN NOT COMBINE
"tbl_calendat_tbl_employee" does not exist. That is a concatenation of the names of the two tables that are being referenced.
There is an error message at the top of the screen that says [nQSError: 28006] Near Line 341, <"tbl_calendar_tbl_employee">: Not defined
I know that this has to do with the UPGRADEID's, but I am intentionally trying to generate different UPGRADEID's, and I was hoping
that by doing the copy into a new blank RPD, new UPGRADEID's would be generated.
Does anyone know how I can accomplish generating new UPGRADEID's? Is there a tool or utility that would do that?