sql server - Get the result from Select and Update the selected records in the same statement -


i want select few records database table , change value column 'pending' 'processing' n database. result select statement has go jms queue processing. using apache camel framework integration , ms sql server 2005 database. nice if can achieved single sql statement.

you should able update , use output/output into feature return rows in result set http://decipherinfosys.wordpress.com/2007/05/25/using-the-output-and-output-into-clauses-in-sql-server-2005/


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -