Link to home
Start Free TrialLog in
Avatar of adraughn
adraughnFlag for United States of America

asked on

For XML/SP

SQL 2k5

Is it possible to use For XML on a stored procedure that has a parameter?

adria
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

it is not clear what the parameter has to do with the FOR XML part, can you specify, please
Avatar of adraughn

ASKER

i have a select statement that i am passing to sql for an asp page. it is currently bringing in the query results as the data source for the page and then the user filters it. then we have to format it by creating multiple "tables" on the page.

i want to change the sql to reference the stored procedure that has a parameter of Job Number. But I would also like to use the For XML in the SP, but was not sure if it could be used with a parameter.

adria
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg 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
gracias