|
Name of the csv file(s) already saved in a table myFileList. myFileList Table contains values like crashData_MMYYYY_vN.csv, vehecleData_MMYYYY_vN.csv, casualtyData_MMYYYY_vN.csv etc with different versions and MMYYYY values. Example: For January month, MM should be 01. For October, it should be 10. For Base version value of ‘N’ should be 1 and can be incremental for the next versions, viz., v2, v3 etc. The first version of a crash file loading for Jan 2013 should be named ‘crashData_012013_v1’. Condition:
Thanks in advance.
(comments are locked)
|
|
If you're just having problems with the Try something like: Note that, because I've only put one statement in the THEN/ELSE parts, the BEGIN/END bits are unnecessary. I've left them in through force of habit - the number of times I've not written them and had something a bit odd happen...
(comments are locked)
|


What's your question?
How far have you got with this? What part of it is causing you trouble? Show us what you've got so far, and maybe we'll be able to point you in the right direction.
Looks like a homework question to me.
if(filename==x) call procedure1 else if (filename==y) call procedure2 else call procedure3
Note :filename is stored in a table. How to do this?
Is there a theoretical maximum value for N?
Nope.. Where i am stuck is if(filename==x) call procedure1 else if (filename==y) call procedure2 else call procedure3
here