This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes update where clause Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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