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
Post a Comment