in reply to Re: Source command in perl script
in thread Source command in perl script

To my knowledge DBD::DB2 doesnt support execution of sql scripts / ddl file that sets up a database. But if thats wrong i would be very happy if someone would enlighten me.

Just to be clear. The task of the ddl file contains definition of numerous tables.

Replies are listed 'Best First'.
Re^3: Source command in perl script
by roboticus (Chancellor) on Oct 20, 2011 at 09:48 UTC

    bannaN:

    One of the examples (Listing 5) in this article show how to do DDL with DBI and DBD::DB2, so perhaps you can just convert your script.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

    Update: Trivial edit (specify which example performs DDL), changed plural to singular.