Skip to Content.
Sympa Menu

freetds - 4.2 limitation...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: mjn <mjn AT umn.edu>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: 4.2 limitation...
  • Date: Tue, 2 Jan 2001 13:15:00 -0600 (CST)


Is there a way to sidestep the limitation of 4.2 and dynamic SQL
placeholders?

Or is there a way to use a variable in an SQL statement like this:

$state="ca";
my $sth = $dbh->prepare('SELECT * FROM authors WHERE state = $state');

All of the variable syntax itterations that I know have failed...

Thanks again...

____________________________
Mike Neuharth
ADCS Technology Specialist
http://www.umn.edu/adcs

E-Mail : mjn AT umn.edu
Page Mail : 6126486512 AT page.metrocall.com
http://nifty.dsl.visi.com/
____________________________






Archive powered by MHonArc 2.6.24.

Top of Page