sql server XML: exist() Method

enrique_aeo
enrique_aeo used Ask the Experts™
on
hi experts, i am reading exist() Method but i do not understand:
"Should be used in preference to value() for better performance"
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2012
Commented:
i am reading exist() Method but i do not understand:
What part do you not understant?  Would you like me to re-phrase it in Spanish?

It is quite simple:
IF possible
         use the exist() Xml function
ELSE
         use value()

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial