Help for this page

Select Code to Download


  1. or download this
    $dbh->do ("export to table_foo of del select id, str from table_foo");
    
    ...
    An unexpected token "export to table_foo of del select id," 
    was found following "BEGIN-OF-STATEMENT".  
    Expected tokens may include:  "<revoke>".  SQLSTATE=42601
    
  2. or download this
    use strict;
    use DB2::Admin;
    ...
      'FileType'   => 'DEL'
    );
    __END__
    
  3. or download this
    $ perl -ws admin.pl -INST=TEST -USER=db2inst1 -PASS=***** -SCHM=db2ins
    +t1 -TABL=table_foo
    $ cat /tmp/data-db2inst1-table_foo.del 
    1,"foo"
    2,"bar"
    3,"tze"