This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Oracle/OAS and the fly likes    how to insert CLOB data type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "   how to insert CLOB data type" Watch "   how to insert CLOB data type" New topic
Author

how to insert CLOB data type

Makesh Sundaresan
Greenhorn

Joined: Nov 08, 2003
Posts: 4
how to insert to CLOB data type & BLOB data type in oracle database.
how to retrive CLOB data type & BLOB data type from oracle
using ASP [vbscript].
Jeremy Wilson
Ranch Hand

Joined: Feb 18, 2003
Posts: 166
I have never done it with ASP but have with JDBC. If possible use the Oracle ADO .NET drivers from oracle. These driver make it much easier to do this.

Normally to insert you need to insert all data but the clob and get the primary key info back. After that update the blob in the record using a byte array.

When doing a query you get a type back that is a pointer to the database. At that point you read the bytes through an input stream.


Jeremy Wilson
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to insert CLOB data type