Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    my $sql = 'SELECT table.field0, table.field1 FROM table;';
    $sql =~ s/table.//g;
    print "$sql\n";
    
  2. or download this
    use constant TABLE_NAME => 'table';
    
  3. or download this
    $stmt =~ s/TABLE_NAME.//g;    # doesn't work