Help for this page

Select Code to Download


  1. or download this
    select foo, bar from my_table 
    where col < '''drop table my_table; --' 
      or (col > 'def_val' and col3 < fgh_val)
    
  2. or download this
    insert into my_table
    select ? as foo, ? as bar, c.id as product_id, d.price as product_pric
    +e
    from my_stuff c where c.name=?
    join friend_prices d where d.name=? and c.class=d.class
    
  3. or download this
    my $ST = db->prepare(q{
        insert into my_table
    ...
    
    $ST->execute(123, 456, 'Mouse', 'Joe');
    $ST->execute(149, 357, 'Mousepad', 'Joe');