Link to home
Start Free TrialLog in
Avatar of pae2
pae2Flag for United States of America

asked on

sql server 2008 xml query syntax / semantics

I have some questions about this snippet of code:

If Exists
(SELECT 1
FROM Common.XmlArrayOfInt(@ListingIDs) IDs

Is XmlArrayOfInt a built-in TSQL function? If so, how does it work and what does it do both generally and in this instance? I have some experience (~1.5-years) with db-programming, but I currently don't know XML nor have I ever seen XML used within sql-server queries. Please explain as much as possible.

Thanks!
Avatar of nishant joshi
nishant joshi
Flag of India image

you can load xml to temp table and then use it.after use drop it.
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
any progress?
Avatar of pae2

ASKER

sedgwick, thanks for the explanation. it helped. acperkins, thanks. you were right. it was in Table-valued Functions.