Hello, prasadgp. Which part in particular is giving you trouble? What code have you written already? In what way does it fail to meet your requirements?
| [reply] |
Please re-frame your question with what you've tried, what errors you're getting, and what your desired output is.
| [reply] |
| [reply] |
| [reply] |
Hmm, when you say upgrade and downgrade, do you mean perhaps upload and download? Please explain.
| [reply] |
In case of Sybase ASE, after installing a new version, commands are run to upgrade/update the table structure, (rebuild) index, change/add system functions, etc. I hadn't tried to downgrade, so I can't comment on that aspect.
| [reply] |
Here's some pseudo-code for you: my @downgrade_scripts = find_downgrade_scripts();
for my $script (@downgrade_scripts) {
run_script($script);
}
my @upgrade_scripts = find_upgrade_scripts();
for my $script (@upgrade_scripts) {
run_script($script);
}
| [reply] [d/l] |