Changing the order of the dbr.import statements didn't make a difference.
03:28:19 PM: Query execution time: 0.01 sec
CREATE PROCEDURE sp_DBR_Import_Reloads
()
BEGIN
select 'dbr.import.prepare', 'sp_DBR_Import_Reloads_pre';
select 'dbr.import', 'sp_DBR_Import_Reloads_do(,,,,,,)', 'C:\Reloads_Aug12.txt';
select 'dbr.import.finish', 'sp_DBR_Import_Reloads_post';
END
03:28:19 PM: Query execution time: 0.01 sec
call sp_DBR_Import_Reloads()
03:28:29 PM: Query execution time: 0.01 sec
dbr.import.prepare sp_DBR_Import_Reloads_pre
dbr.import.prepare sp_DBR_Import_Reloads_pre
# 1
dbr.import sp_DBR_Import_Reloads_do(,,,,,,) C:Reloads_Aug12.txt
dbr.import sp_DBR_Import_Reloads_do(,,,,,,) C:Reloads_Aug12.txt
# 1
dbr.import.finish sp_DBR_Import_Reloads_post
dbr.import.finish sp_DBR_Import_Reloads_post
# 1
- or using 'now'--
CREATE PROCEDURE sp_DBR_Import_Reloads
()
BEGIN
select 'dbr.import.prepare', 'sp_DBR_Import_Reloads_pre';
select 'dbr.import', 'sp_DBR_Import_Reloads_do(,,,,,,)', 'C:\Reloads_Aug12.txt','now';
select 'dbr.import.finish', 'sp_DBR_Import_Reloads_post';
END
03:30:21 PM: Query execution time: 0.01 sec
call sp_DBR_Import_Reloads()
03:30:31 PM: Query execution time: 0.01 sec
dbr.import.prepare sp_DBR_Import_Reloads_pre
dbr.import.prepare sp_DBR_Import_Reloads_pre
# 1
dbr.import sp_DBR_Import_Reloads_do(,,,,,,) C:Reloads_Aug12.txt now
dbr.import sp_DBR_Import_Reloads_do(,,,,,,) C:Reloads_Aug12.txt now
# 1
dbr.import.finish sp_DBR_Import_Reloads_post
dbr.import.finish sp_DBR_Import_Reloads_post
# 1