Hello,

On 11/11/2010 8:32 AM, Hayyan Rafiq wrote:

> Is it possible to Alter The table ADD/Drop Column in The DB during run
> time using SOCI .

Yes. DDL statements can be executed with SOCI without problems.
Actually, the set of unit tests that is delivered together with SOCI 
uses this approach to build appropriate database structures on the fly 
for the purpose of executing the test.

> Furthermore could anyone suggest an optimised method
> for accomplishing this task...

I don't think you need any optimization for that.
Just do:

sql << "alter table ...";

Regards,

-- 
Maciej Sobczak * www.msobczak.com * www.inspirel.com

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to