I have tried several variations on a theme including:
my $sthG = $dbh->prepare("INSERT into ICD_9_Disease_Types (ICD_9_code) + SELECT CONCAT('A', select ICD_9 from ICD_9 where ICD_9 > 0);") or di +e "Couldn't prepare query: ".$dbh->errstr;
I am transferring between two different tables.
In reply to Re: Re: CONCAT Perl or SQL
by Win
in thread CONCAT Perl or SQL
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |