Couldn't run restore database command from perl DBI

  • I'm not a Perl user so, sorry, no joy there. I am curious, though... why are you using Perl to execute restores?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • i am creating a script to refresh devlopment database from production.

    it will be called from a front end screen that lists source/target server and developer can refresh any dev database

  • i changed prepare to include an option solved the problem

    my $sth = $db->prepare( $sql, { odbc_exec_direct => 1})

Viewing 3 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply