Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Data base automation.

by prasadgp (Initiate)
on Nov 04, 2015 at 23:21 UTC ( [id://1146951]=perlquestion: print w/replies, xml ) Need Help??

prasadgp has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Data base automation.
by hippo (Bishop) on Nov 04, 2015 at 23:28 UTC

    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?

Re: Data base automation.
by stevieb (Canon) on Nov 05, 2015 at 01:41 UTC

    Please re-frame your question with what you've tried, what errors you're getting, and what your desired output is.

Re: Data base automation.
by Anonymous Monk on Nov 05, 2015 at 08:12 UTC
Re: Data base automation.
by erix (Prior) on Nov 05, 2015 at 07:29 UTC

    What does "upgrade" and "downgrade" mean here?

Re: Data base automation.
by Laurent_R (Canon) on Nov 05, 2015 at 08:09 UTC
    Hmm, when you say upgrade and downgrade, do you mean perhaps upload and download? Please explain.

      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.

Re: Data base automation.
by runrig (Abbot) on Nov 05, 2015 at 18:18 UTC
    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); }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1146951]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found