I have an automated process that I need to produce incremental filenames so that when the sql process runs multiple times the file will be incremented, but I cannot find or figure out how to write this code.
For example, arcca_daily_inc oming_1.asc , this is the filename for the first run then when the process executes again on the same the the filename would be arcca_daily_inc oming_2.asc then arcca_daily_inc oming_3.asc .. make sense?
Can someone assist me with the code or point me where I can mirror the code? I have never written this kind of process before.
You assitance will be appreciated.
Thanks.
For example, arcca_daily_inc oming_1.asc , this is the filename for the first run then when the process executes again on the same the the filename would be arcca_daily_inc oming_2.asc then arcca_daily_inc oming_3.asc .. make sense?
Can someone assist me with the code or point me where I can mirror the code? I have never written this kind of process before.
You assitance will be appreciated.
Thanks.
Comment