Help for this page

Select Code to Download


  1. or download this
    CREATE TABLE foo(
      id int(10) unsigned NOT NULL AUTO_INCREMENT,
    ...
      num float NULL,
      PRIMARY KEY (id)
    );
    
  2. or download this
    #!/usr/local/bin/perl -w
    use DBI;
    ...
    while(my $r = $sth->fetchrow_hashref) {
        print Dumper $r;
    }
    
  3. or download this
    $VAR1 = {
              'Extra' => 'auto_increment',
    ...
              'Type' => 'float',
              'Null' => 'YES'
            };