size of a row (resultset)

A

Ashly

Hi All,

I am new to this group.

I have a problem. I need to construct an XML with the contents of a
database row, But the XML should be less than 500MB. The select query
returns 100 rows and each row contains a BLOB field. Is there any way
to calculate the size of a row in bytes?

Waiting for your help. Thanks in advance.

Best Regards,
Ashly.
 
T

tomaszewski.p

Hi All,

I am new to this group.

I have a problem. I need to construct an XML with the contents of a
database row, But the XML should be less than 500MB. The select query
returns 100 rows and each row contains a BLOB field. Is there any way
to calculate the size of a row in bytes?

Waiting for your help. Thanks in advance.

Best Regards,
Ashly.

Maybe this link will be helpful:
http://java.sun.com/javase/6/docs/api/java/sql/Blob.html#length()

Przemek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top