RE: how to get datatype of columns of a table in perl script
- From: Vamsi_Doddapaneni@xxxxxxxxxx (Vamsi_Doddapaneni)
- Date: Thu, 14 Apr 2005 19:56:53 +0530
Hi ,
Thanks for replying.
My problem is, the perl script successfully gets rows from oracle database
but I have to insert it into similar table in db2 i.e( x in oracle -> x in
db2) . For this I need to know the datatypes of columns (varchar, char,date
,timestamp) as these need quotes for insertion.
Hope you got my problem
Thanks & Regards
Vamsi
-----Original Message-----
From: Thutika, Srinivas (ODC - Satyam) [mailto:SThutika@xxxxxxxxxxxxxxxxx]
Sent: Thursday, April 14, 2005 7:48 PM
To: Vamsi_Doddapaneni
Subject: RE: how to get datatype of columns of a table in perl script
Hi ,
I have worked in perl ..for database...
I can help u in getting the values from databse..
But I have to explore for getting the type of data...
Regares,
Srinivas.
-----Original Message-----
From: Vamsi_Doddapaneni [mailto:Vamsi_Doddapaneni@xxxxxxxxxx]
Sent: Thursday, April 14, 2005 7:39 PM
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.
**************************************************************************
--------------------------------------------------------
If you are not an intended recipient of this e-mail, please notify the
sender, delete it and do not read, act upon, print, disclose, copy, retain
or redistribute it. Click here for important additional terms relating to
this e-mail. http://www.ml.com/email_terms/
--------------------------------------------------------
**************************************************************************
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.
**************************************************************************
- Prev by Date: how to get datatype of columns of a table in perl script
- Next by Date: Re: DBI, MS Access, inserting/updating a Access Date/Time value
- 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
|
|