Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query help

Status
Not open for further replies.

JasonMcConnell

Technical User
Mar 10, 2005
29
GB
Hi,
I have just started teaching myself SQL plus and was wondering how I can update multiple records (application numbers that I can define)
E.g.
update application_table
Set closed ='Y' where application_number = '20008121'

What I would like to do is to be able to define multiple application numbers

update application_table
Set closed ='Y' where application_number = '20008121', '20086563', 200812625;

Thanks for your help
 
Nearly, try this

update application_table
Set closed ='Y' where application_number in('20008121', '20086563', 200812625)


In order to understand recursion, you must first understand recursion.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top