Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: [PL/SQL NEWBIE]Detect Varchar2 field length

Re: [PL/SQL NEWBIE]Detect Varchar2 field length

From: Alex NSB <alexnsb_at_tin.it>
Date: Fri, 26 Nov 2004 11:41:59 +0100
Message-ID: <co71bn$isc$1@newsread.albacom.net>


Catherine wrote:
> Perhaps a function that will check
> LENGTH(whatever) <= DATA_LENGTH
> where DATA_LENGTH is queried from ALL_TAB_COLUMNS?
> Good luck!

Catherine,

thanks for taking time to reply.

I always tend to forget the existence of those tables, so your tip was really helpful.

I only had one minor issue with CLOBs (the reported length is 4000) but I worked around it.

Regards.

Alessandro Received on Fri Nov 26 2004 - 04:41:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US