List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:September 6 1999 10:25pm
Subject:Re: Get no Reply from Select Statement, Using Perl 5.005 DBI
Module
View as plain text  
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/
Thread
Get no Reply from Select Statement, Using Perl 5.005 DBI ModuleOliver Etzel6 Sep
  • Re: Get no Reply from Select Statement, Using Perl 5.005 DBI ModuleJules Bean6 Sep
  • Re: Get no Reply from Select Statement, Using Perl 5.005 DBIModulePaul DuBois7 Sep
  • Re: Get no Reply from Select Statement, Using Perl 5.005 DBI ModuleChristian Mack10 Sep