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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to get the size of a BLOB column

Re: How to get the size of a BLOB column

From: <xmark.powell_at_eds.com.x>
Date: 31 Mar 2001 22:06:48 GMT
Message-ID: <9a5kdo$c8q$1@news.netmar.com>

In article <tcafg8gursgofe_at_corp.supernews.com>, Tao Y. Ge <tao_at_nextengine.com> writes:
>Hi,
>
>I am looking for the Oracle equivalent of the MSSQL's DATALENGTH function.
>
>in mssql if I do a SELECT DATALENGTH(blobcolumn) from TABLENAME
>I get back a list of sizes of those BLOBs.
>
>How would I do something similar in ORACLE?
>
>any help will be greatly appreciated.
>thanks.
>
>--
>
>Tao Ge
>Software Engineer
>tao_at_nextengine.com
>(310) 883-1837
>
>NextEngine, Inc.
>401 Wilshire Blvd., Ninth Floor
>Santa Monica, California 90401
>

Look at the dbms_lob package getlength function for finding the length of LOB column data. I do not have a set of manuals handy but there is a chapter on dbms_lob package in the ver 8 Application Programmers Guide that may interest you.

Received on Sat Mar 31 2001 - 16:06:48 CST

Original text of this message

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