Hello,

On 03/10/2011 04:47, Li Lirong wrote:

> I am new to SOCI.  I have one question.  Is it possible to save an
> statement object to a file (or send it over the network to another
> computer) and get it loaded and executed at later stage?

No, this functionality is not supported.
In essence, the statement object is not just an SQL text, it is a handle 
to database resources that have been already allocated for the purpose 
of processing this query.

If you need to store or transmit SQL queries, just use regular text 
(string) objects for this.

Best regards,

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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to