5 pts.
 How to use “OR” condition in IF ELSE statement
Hi, How to compare multiple element values in if else condition of XML? Is there any syntax like "OR" example if the element is "NAME" and it has values as ('RAMA','SHAYAM','SUNNY','DAVID')? Is there anything like <?if:NAME='RAMA' OR 'SHAYAM' OR 'SUNNY'?> I want to use this in if else statement ..for every value like 'RAMA', 'SHYAM' I would like to have different result. How it can be archived?

Software/Hardware used:
explorer 7 and ms word 2007
ASKED: March 29, 2012  1:52 PM
UPDATED: September 17, 2012  3:04 PM

Answer Wiki:
Try this Select * from YOURFILE Where NAME IN('RAMA', SHAYAM', 'SUNNY', 'DAVID')
Last Wiki Answer Submitted:  March 29, 2012  2:41 pm  by  CharlieBrowne   32,785 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,785 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I don’t think this is related to SQL…

 63,535 pts.