On 18/07/2012 00:18, Tessio F. wrote:
Hello,
I have an database with a two column primary key:
create database contacts(
username char(20) not null,
contact char(20) not null,
primary key (username, contact)
);
I'm trying to delete a row with the command:
(connect to db..)
my $sth = $dbh->prepa
Hello,
I have an database with a two column primary key:
create database contacts(
username char(20) not null,
contact char(20) not null,
primary key (username, contact)
);
I'm trying to delete a row with the command:
(connect to db..)
my $sth = $dbh->prepare("DELETE FROM contacts