File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to insert CLOB data type