Thank you for your reply!  Is there a way to retrieve the final query
text so that I can save it for later use?  This means I can stile use
soci to do the data binding.  Instead of executint the statement, I
want to save the query as text.


On Mon, Oct 3, 2011 at 3:20 PM, Maciej Sobczak <[email protected]> wrote:
> 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
>

------------------------------------------------------------------------------
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