[asterisk-users] Setting Multiple Values via func_odbc ...?

Douglas Garstang dougmig33 at yahoo.com
Thu Dec 6 12:39:36 CST 2007


Alex,

Yes, but the issue isn't MySQL. The issue is func_odbc and passing multiple values to it.

Douglas.

----- Original Message ----
From: Alex Balashov <abalashov at evaristesys.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com>
Sent: Thursday, December 6, 2007 10:23:02 AM
Subject: Re: [asterisk-users] Setting Multiple Values via func_odbc ...?




On Thu, 6 Dec 2007, Douglas Garstang wrote:

> I need to insert/update multiple MySQL columns in a single row with
 the 
> func_odbc function at the SAME TIME.

   If I understand your question correctly, this can be done using a 
standard SQL UPDATE query.

   UPDATE tblname SET col1 = val1, col2 = val2, .. WHERE field =
 criterion;

--
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : +1-678-954-0670
Direct : +1-678-954-0671

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users






      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071206/a1e015c8/attachment.htm 


More information about the asterisk-users mailing list