General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Was my answer clear? I get two lists of qualifiers one list is required qualifiers and the other is excluded qualifiers. The selected records must have all required qualifiers and none of the exluded qualifiers.
Glenn
>How the parameter is related to the data in the tables?
>
>>I just can't figure this one out! I have the following tables:
>>
>>Contacts
>> id int,
>> lastname varchar(255),
>> ...
>>
>>qualifier
>> id int,
>> description varchar(255),
>> ...
>>
>>ContactQualities
>> contactid int,
>> qualifierid int,
>> ...
>>
>>I need to formulate a SQL stored procedure which will produce a cursor of contacts which have a list of qualities.
>>
>>parameter looks like this
>> '01,05...'
>>
>>Any suggestions?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only