You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#$rows_affected = $dbh->do("UPDATE your_table SET foo = foo + 1");
|
|
|
|
use DBI;
|
|
my $dbh= DBI->connect("DBI:mysql:host=localhost;user=root,password=;database=sample_db");
|
|
|
|
$dbh->do("INSERT INTO employee(name)VALUES('A')");
|
|
my $dbh->disconnect(); |