Hi
I really hope someone can help. I am copying over files. I want to change the name of the file being copied over. I want the first one to start at 100,000 and increment from there.
for eg.
copy 1232.tif(source file) as 100000.tif and the second one to be 100001.tif and so on.
here is the code i have attempted to write.. i know its not correct but not sure what else to do with it.
select 'copy' ||trim(components.path)|| ' ' || x=100000, while x<150000, x=x + 1;
from docsadm.components
Just thinking that its only the name i want to change i want to keep the extension of the filename.
Please if someone can help i would be so grateful.
kindest regards
Lasd
I really hope someone can help. I am copying over files. I want to change the name of the file being copied over. I want the first one to start at 100,000 and increment from there.
for eg.
copy 1232.tif(source file) as 100000.tif and the second one to be 100001.tif and so on.
here is the code i have attempted to write.. i know its not correct but not sure what else to do with it.
select 'copy' ||trim(components.path)|| ' ' || x=100000, while x<150000, x=x + 1;
from docsadm.components
Just thinking that its only the name i want to change i want to keep the extension of the filename.
Please if someone can help i would be so grateful.
kindest regards
Lasd