07-11-2009 04:05 AM
As follows:
start transaction;
sql1;
sql2;
commit;
LV hava many vi for executing sql,but it occur problem when they deal with many sql once. Is there some approach for executing many sql once?
07-11-2009 05:19 AM
Hi wxjshr,
what do you mean? Do you want to write to two databases at the same time? Can you explain please?
Mike
07-11-2009 09:16 AM
As follows sql:
start transaction;
update table_1 set money=money-50;
update table_2 set money=money+50;
commit;
I want the sql block execute one time,Labsql can do that?
07-11-2009 09:22 AM
Hi,Mike
labsql executes only one sql at one time,am I right?
Now I want labsql executes a sql block at one time .How can I do that?
Thanks!
07-11-2009 09:27 AM
Hi 威海的风,
can you upload your vi? I'm don't understand what you try to do and why.
Mike
07-11-2009 09:49 AM
07-11-2009 10:22 AM
Hi 威海的风,
what about using a loop? Is it a solution for you?
Mike
07-11-2009 10:36 AM
Thanks , Mike!
Is there no method do that?
07-11-2009 10:51 AM
Hi 威海的风,
sorry, i can't tell you if such a funtion exists. Can you explain why you need it? I'm very interested in what you try to do.
Mike
07-11-2009 10:57 AM