That's the beauty of Perl and databases!

-----Original Message-----
From: "Timothy Kimball"<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Mon Jun 25 12:42:19 PDT 2001
Subject: Re: ? embed scalars in the sql

>
>: Is it possible to embed a scalar into the sql such that the value of
>: the scalar could represent a column name to report or a value to
>: select by
>
>Sure. The query's just a scalar string until you execute it.
>
>Same goes for order by, group by, table names, or whatever. Just do
>yourself a favor and trap the errors that come back from the database
>interface (DBI, hopefully).
>
>-- tdk

/~_. _ | _ _  _  _ 
\_/|(_||| | |(_)| |
     _|
___________________________________________________
GO.com Mail                                    
Get Your Free, Private E-mail at http://mail.go.com


Reply via email to