Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CLOB to VARCHAR2
Message
De
04/01/2005 11:07:37
 
 
À
Tous
Information générale
Forum:
Oracle
Catégorie:
Problèmes
Titre:
CLOB to VARCHAR2
Divers
Thread ID:
00974097
Message ID:
00974097
Vues:
62
Hi All,

Is there a way in a query to convert data stored in a CLOB field into a Character field? In the following query the field 'ADDR_LINE' is the field I'd like to convert. If I could get only the 1st row of the field. That would be ok. Or the 1st 2 rows into 1 row, even better.
lcSqlStatement = "SELECT addr_no, cust_no, ADDR_LINE, city, " +;
	         "state_cd, cntry_cd, zip_cd " +;
                 "FROM addr_dtl " +;
                 "WHERE addr_dtl.addr_no = " + TRANS(lnCustAddrNo)
TIA
Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform