Help for this page

Select Code to Download


  1. or download this
    INSERT INTO table (name) VALUES ("Roland684");
    SELECT id FROM table WHERE name = "Roland684";
    
  2. or download this
    INSERT INTO table (name) VALUES ("Roland684") RETURNING id;
    
  3. or download this
    my $sth = $dbh->prepare($query);
    my $insertedrecords = $sth->execute;
    while (my $result = $sth->fetchrow_hashref) {
      ...
    }