<div>Hi Shary,</div>
<div> </div>
<div>*First off, did you mean to leave out the "$" on your insert statement? That could be the problem.</div>
<div> </div>
<div>Just like with any troubleshooting, you'll want to break things down a bit, in an effort to isolate the problem.</div>
<div> </div>
<div>1. Focus on select statement first</div>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr">
<div>a. Can you read the table directly via a tool like query analyzer?</div>
<div>b. Can you read the table from a remote machine via a tool like <a href="http://www.squirrelsql.org/">SQuirreL</a>?</div>
<div>c. Can you read the table from a simple UCCX script and via active debugging (no variables, hard coded values)?</div>
<div>d. Can you read the table from a simple UCCX script and via active debugging (using variables for your values)?</div></blockquote>
<div>2. Now focus on the insert statement</div>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr">
<div>a. Can you modify the table directly via a tool like query analyzer?</div>
<div>b. Can you modify the table from a remote machine via a tool like SQuirreL?</div>
<div>c. Can you modify the table from a simple UCCX script and via active debugging (no variables, hard coded values)?</div>
<div>d. Can you modify the table from a simple UCCX script and via active debugging (using variables for your values)?</div></blockquote>
<div>Knowing the answer to these questions will help you to isolate where the problem might be.</div>
<div> </div>
<div>A couple of other troubleshooting suggestions if needed:</div>
<div>Create a new database and table for testing (make these as simple as possible)</div>
<div>Connect to a different database server for testing (MySQL, PostgreSQL, DB2, etc.)</div>
<div> </div>
<div>Anthony
<div> </div>
<div> </div></div>
<div class="gmail_quote">On Wed, Nov 2, 2011 at 6:36 AM, shary shary <span dir="ltr"><<a href="mailto:shaary1@hotmail.com">shaary1@hotmail.com</a>></span> wrote:
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div dir="ltr">
<div>hi all, i am facing a very strange issue in uccx while Reading or writing data into SQL DB from uccx DB Read and Write query.</div>
<div>For Read i am using the query "select * from tble where fil1=$customerinput" and for write "INSERT into tble (field1) Values (customerinput)" . When i test these queries it displays 1 row alterred while in at SQL side i can't see any new data. The DB guys are saying they are getting insert request from uccx but it rolls back intead of Commit. Same thing when i try to Read the data the call goes into success node but then from DB get node it passes from unsuccessful. Variable types are same at both side. What could e the issue. We are usign SQL ODBC connector. Your prompt will be appreaciateble.</div>
<div> </div>
<div>thnx in advance</div>
<div> </div></div></div>
<div>_______________________________________________</div>
<div>cisco-voip mailing list</div>
<div><a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a></div>
<div><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a></div>
<div> </div>
<div> </div></blockquote></div>
<div> </div>