The ImportStatus_ID column has another undocumented value 3. The 3 value means the staging process is still running actively, and the final status outcome of 1 or 2 is not yet known. You can see this by reverse engineering the syntax of the staging procedure, such as sp_helptext 'stg.udp_ModelName_EntityName_Leaf'@StatusDefault INT = 0,@StatusOK INT = 1,@StatusError INT = 2,@StatusProcessing INT = 3If you find the staging batch stuck with t
↧