Problem with stopquery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Let int cost=3;
then how can I set a stopquery where I have to do the function as follows,
StopQuery = "UPDATE pin SET remain=('%d'*cost) WHERE pinnumber = %u'";
I do not want to use it as follows as cost is variable,
StopQuery = "UPDATE pin SET remain=remain-('%d'*3) WHERE pinnumber = %u'";

-------------------------------------------------
BDCOM Online Limited. http://www.bdcom.com


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux