Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Data::Dumper;
    ...
    while ( my @row = $sth->fetchrow_array ) {
        print "@row\n";
    }
    
  2. or download this
    :!perl  test_dbi.pl                                                   
    +                              
    DBD::mysql::st execute failed: Unknown column 'Symbol' in 'field list'
    + at test_dbi.pl line 21.
    SQL Error: Unknown column 'Symbol' in 'field list'
    
  3. or download this
    
    mysql> select Symbol from gene_info where GeneID = "812222";
    ...
    | motif_finder |
    +--------------+
    1 rows in set (0.00 sec)