[Openh323gk-users] Problem with stopquery
H.323 Gatekeeper for VoIP and videconferencing
Brought to you by:
willamowius
From: Z.Farhan <fa...@bd...> - 2005-05-31 08:43:55
|
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 |