This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
 
Don't get me started about those stupid light bulbs.
 
subject: how to insert CLOB data type
 
Similar Threads
How to use oracle 9.2 driver for oracle817's CLOB?
How to insert and retrieve the large objects (BLob,CLob,BFile) into oracle 8
Clob Data Types
Mapping String To CLOB datatype using WSAD 4.0
Uploading xml to database