comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Inserting Wave File
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Inserting Wave File [message #45962] Mon, 24 October 2005 06:16 Go to previous message
raval.chintan is currently offline  raval.chintan
Messages: 54
Registered: May 2005
Member
raval.chintan@gmail.com wrote:
> Dear All,
>
> I am using idl6.2 and Oracle 8i. I want to store and retrive wave file
> data through IDL - Oracle Connectivity. ( Here the Data ,I want to
> store in blob in Oracle) Here i am using IDLDataMiner. Can any body
> help me in that?
>
> Thanks in Advance.
>
> Regards,
> Chintan.


Hi

I am running follwing program. Here i have created one table wavetab in
oracle database which has two fields 1) wavedata 2) id . Here Wavedata
is in blob and id as an integer.


pro inputwave

; Read the Data
data = read_wav('C:\sound1.wav')
;Open Connection Record and Database Record
conn = obj_new('IDLdbDatabase')
staus = DIALOG_DBCONNECT(conn , DATASOURCE='WaveFile')
orec = obj_new('IDLdbRecordSet',conn,TABLE = 'wavetab')
;Add Record
id = 1
orec->AddRecord,[data,id],SET_AUTOINCREMENT=1
; Delete the Record Object
obj_destroy,orec
obj_destroy,conn

end

After running this program when i am running query select count(*) from
wavetab on the sql prompt gives me 0 Row Selected. So This program is
not inserting the data. I will be thankful if any one can help me in
this problem
[Message index]
 
Read Message
Read Message
Previous Topic: Reading UUID from JPEG2000 file
Next Topic: Re: coordinates in threedimensional object graphics ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 04:39:57 PDT 2025

Total time taken to generate the page: 1.60163 seconds