Filename: 20080806CLM0001 .txt
Legend:
YYYYMMDDCLM9999
YYYY = four digit year
MM = two digit month
DD = two digit day
CLM = static for Claim MR
9999 = four digit sequence number (this will keep it unique in case you sent two in a day)
Using master.dbo.xp_c mdshell copy how can I incrementaly save the above filename (20080806CLM000 1.txt then 20080806CLM0002 .txt then 20080806CLM0003 .txt)
Thanks.
Legend:
YYYYMMDDCLM9999
YYYY = four digit year
MM = two digit month
DD = two digit day
CLM = static for Claim MR
9999 = four digit sequence number (this will keep it unique in case you sent two in a day)
Using master.dbo.xp_c mdshell copy how can I incrementaly save the above filename (20080806CLM000 1.txt then 20080806CLM0002 .txt then 20080806CLM0003 .txt)
Thanks.
Comment