RE: how to get datatype of columns of a table in perl script
- From: Ron.Reidy@xxxxxxxxxxxxxxxxxx (Ron Reidy)
- Date: Thu, 14 Apr 2005 12:38:44 -0600
Have you looked at type_info_all()? It may provide what you need, but I recommend using bind parameters instead.
-----------------
Ron Reidy
Lead DBA
Array BioPharma, Inc.
-----Original Message-----
From: Vamsi_Doddapaneni [mailto:Vamsi_Doddapaneni@xxxxxxxxxx]
Sent: Thursday, April 14, 2005 8:09 AM
To: dbi-users@xxxxxxxx
Subject: how to get datatype of columns of a table in perl script
Importance: High
Hi all
I am new to perl just (1 1/2 month experience.). I am developing perl script
which connects to oracle database and selects rows from a (x) table and then
inserts them into its corresponding table in db2. So, while inserting i need
to find what is the datatype of columns , since we need to use quotes for
varchar,date etc.....
Could anybody help me out to find an approach .
Thanks in advance
Regards
Vamsi
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
This electronic message transmission is a PRIVATE communication which contains
information which may be confidential or privileged. The information is intended
to be for the use of the individual or entity named above. If you are not the
intended recipient, please be aware that any disclosure, copying, distribution
or use of the contents of this information is prohibited. Please notify the
sender of the delivery error by replying to this message, or notify us by
telephone (877-633-2436, ext. 0), and then delete it from your system.
.
- Prev by Date: Re: how to get datatype of columns of a table in perl script
- Next by Date: Re: how to get datatype of columns of a table in perl script
- Previous by thread: RE: how to get datatype of columns of a table in perl script
- Next by thread: RE: how to get datatype of columns of a table in perl script
- Index(es):
Relevant Pages
|