aspose file tools*
The moose likes JDBC and the fly likes update where clause Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "update where clause" Watch "update where clause" New topic
Author

update where clause

sahar sa
Ranch Hand

Joined: Jul 06, 2009
Posts: 102
Dear,
Is there any Update where clause such as this?
UPDATE my-table SET A= x WHERE A=y and B=z.
(Actually Im tring to update one element of a matris)

Thanks,
Sahar.
Luca Adamo
Greenhorn

Joined: Oct 10, 2009
Posts: 8
sahar sa wrote:Dear,
Is there any Update where clause such as this?
UPDATE my-table SET A= x WHERE A=y and B=z.
(Actually Im tring to update one element of a matris)

Thanks,
Sahar.


That's exacty how it works....if you try you'll see.....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: update where clause