in reply to Re^2: DBD::Sybase prepare statement returns empty query hash but no errstr
in thread DBD::Sybase prepare statement returns empty query hash but no errstr
The thing is there's no need to close and reopen the string literal. You are working too hard and if you then need to copy&paste the SQL elsewhere you have to work again.
my $st = $dbh->prepare(q[ SELECT foo, bar, baz FROM whatever WHERE foo = xyz AND bar IS NOT NULL AND ... ]);
Jenda
1984 was supposed to be a warning,
not a manual!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: DBD::Sybase prepare statement returns empty query hash but no errstr
by jcb (Parson) on Nov 01, 2019 at 03:46 UTC | |
by Jenda (Abbot) on Nov 01, 2019 at 10:06 UTC |
In Section
Seekers of Perl Wisdom