Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.
Following code snippet works, wherein col2 value is hard-coded: updateQry = "update table1 set col1 = 0 where col2 = 'as-df-rt'"; stmt = con.createStatement(); int successQryResult = stmt.executeUpdate(updateQry ); Following code snippet does not work, wherein col2 value is NOT hard-coded (col2 is a string i get from an ArrayList): updateQry = "update table1 set col1 = 0 where col2 = " + colValue + "'"; stmt = con.createStatement(); int successQryResult = stmt.executeUpdate(updateQry );
|SYSBASE IQ how to filter the table rows thru the TIMSTAMP column value.||3||560|
|To form a query||10||386|
|Reading ASE Optimizer trace flag / switch output||4||562|
|Why did SAP buy Sybase?||3||140|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
12 Experts available now in Live!