pavan savoy wrote:
---------- Forwarded message ----------
From: pavan savoy <[EMAIL PROTECTED]>
Date: Feb 8, 2006 5:22 PM
Subject: Help regarding insertion into database
To: [EMAIL PROTECTED]

Hi,

        Inside C program I have a structure and want to store it into a
database, isnt there any datatype where I could just mention this many
number of bytes starting from this address...

specifically I want to store a struct s { int a; char b[16]}; directly
without having to create table tab(a integer, b varchar2); ....

cant I just have create table tab(data binary);
insert into tab(&s1);
insert into tab(&s2); ..... etc..

may sound like a newbie question ... pls excuse

You could use a BLOB.

Reply via email to