Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Brain dead - SQL syntax
Message
From
07/09/2007 16:49:34
 
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01253096
Message ID:
01253141
Views:
24
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
Map
View

Click here to load this message in the networking platform