Garayed.com  

Go Back   Garayed.com > Oracle
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-19-2007, 11:58 AM
v.sorna@gmail.com
 
Posts: n/a
Default loading data from flat file into oracle table.

Hi,
I'm new to DPL/OCI/OCCI.I'm trying to load data from flat file into
table.

1)Connection to db(tested by inserting rows programatically)

2)Reading a dat file in E:\\test.dat which has tab seperated values
into double dim array

3)allocating direct path context handle and setting attributes

4) allocating direct path column array handle using OCIHandleAlloc

3)setting the array created as direct path column array (dpca)
OCIDirPathColArrayEntrySet



Now that at the point,direct path stream (dpstream) handle is to be
allocated and used to convert dpca into dpstream, OCIHandleAlloc is
failing with ORA-24316: illegal handle type .

So from that point everything is failing.

Pleasae help me out ,...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:30 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.