<div>hi</div>
<div>how can i successfully get the return of an update or delete statement using the Sybase module?</div>
<div>
<div>i am doing a CGI script whereby if a user keys in the wrong name, i would want to catch that error </div>
<div>&nbsp;eg if key in wrong username,&nbsp;</div>
<div>my CGI script will call Sybase to execute&nbsp;&lt;&nbsp;update table set this = a-value where name = 'wronguser' &gt;&nbsp; and then return a value indicating &quot;not found&quot; but i am not able to figure out how to catch this return value. Any advise?
</div></div>
<div>&nbsp;</div>
<div>....</div>
<div>cur.execute(update_statement)</div>
<div>....</div>
<div>&nbsp;</div>
<div>my table is being updated though when i tried a valid user. I tried rowcount but also not working.</div>
<div>thanks</div>