G
Guest
Hi, I have a table that contains an interger primary key. I want to query
the table for rows that have values equal to a list of ID's that I specify.
The sql that I would use would be something like the following:
SELECT FunctionalGroupId, ReportId
FROM FunctionalGroupReportXRef
WHERE (FunctionalGroupId IN (@Ids))
When I specify this query in the TableAdapter wizard the wizard typecasts
@id to an interger. Thus I can only specify one id in my query rather then a
list of values. I would have expected @Ids to be a string thus allowing me
to specify a list of id's. How can I get around this issue?
Any help would be appreciated.
Thanks!!!
the table for rows that have values equal to a list of ID's that I specify.
The sql that I would use would be something like the following:
SELECT FunctionalGroupId, ReportId
FROM FunctionalGroupReportXRef
WHERE (FunctionalGroupId IN (@Ids))
When I specify this query in the TableAdapter wizard the wizard typecasts
@id to an interger. Thus I can only specify one id in my query rather then a
list of values. I would have expected @Ids to be a string thus allowing me
to specify a list of id's. How can I get around this issue?
Any help would be appreciated.
Thanks!!!