At 1:29 AM -0500 9/6/99, Oliver Etzel wrote:
>Hello,
>
> I am Newbie and I am trying to get a reply from a database (which is called
> "Artikel") in my MySQL version 3.22.21. I am running Linux 6.2 using Perl
>5.005.
>
> 2) The Problem I have is, that I cannot get a reply from the select
> statement that database. The short script is attached here, using the
>DBI.pm
> Module:
... <snipped>
> my $out = $dbh->prepare("select cd_id, cd_artist from Artikel.cd order by
> cd_artist \g");
Your query is malformed. Remove the \g. DBI queries are not terminated
with semicolon or \g.
--
Paul DuBois, paul@stripped
Northern League Chronicles: http://www.snake.net/nl/