Warren Young wrote:
> Ankur G35 Saxena wrote:
>> Hi, I wanted to read and write a C++ structure to the DB.
One other thing: if you're not talking about objects and classes, but
rather plain old C style structures, then it's still a bad idea. C
structure binary data layouts are much more stable than for C++ classes,
but it's a bad idea for a different reason: you are effectively putting
multiple columns' worth of data into a single column. In DBA-speak,
your schema isn't properly normalized. You need to make a column for
each field in the structure.
Then you can use SSQLS, which is made exactly for this purpose.