D
david
Hi all,
I have the following question:
in my sql i write
UPDATE A SET B = DEFAULT
WHERE C = 1;
In mysql i write:
my $sth = $dbh->prepare('UPDATE A SET B = ? WHERE C = ?');
and then
$sth->execute('DEFAULT',1);
The problem is that when column B is a text the word DEFAULT will be
inserted instead the default of the column.
Has someone a solution for the problem ?
Thanks,
David
I have the following question:
in my sql i write
UPDATE A SET B = DEFAULT
WHERE C = 1;
In mysql i write:
my $sth = $dbh->prepare('UPDATE A SET B = ? WHERE C = ?');
and then
$sth->execute('DEFAULT',1);
The problem is that when column B is a text the word DEFAULT will be
inserted instead the default of the column.
Has someone a solution for the problem ?
Thanks,
David