BUG
In the following block of code within the SDE.VERSION_USER_DDL package and L_lineage_flag procedure, the local variable lineage_name is not fully qualified resulting in the UPDATE statement's where clause to be an equality. Note: lineage_name = lineage_name means UPDATE all rows:
Code:
IF lineage_found THEN
-- If there was already an entry for this lineage, update it.
IF current_time_last_modified > found_time_last_modified THEN
new_time_last_modified := current_time_last_modified;
ELSE
new_time_last_modified := found_time_last_modified + a_second;
END IF;
UPDATE SDE.lineages_modified
SET time_last_modified = new_time_last_modified
WHERE lineage_name = lineage_name;
The WHERE clause for statement must fully qualify the lineage_name variable using the referece to the procedure where the variable is declared. For example:
Code:
WHERE lineage_name = L_lineage_flag.lineage_name
Code:
WHERE lineage_name = lineage_name
Code:
WHERE lineage_name = L_lineage_flag.lineage_name
Code:
start version_user_ddl.spb sde
Code:
start version_user_ddl.spb
Get help from ArcGIS experts
Download the Esri Support App