Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Brain dead - SQL syntax
Message
From
07/09/2007 15:13:43
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Brain dead - SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01253096
Message ID:
01253096
Views:
65
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 must have a list of qualities and must not have a list of differennt qualities.

parameter 1 looks like this
'01,05...'
parameter 2 looks like this
'02,06...'

Any suggestions?
Next
Reply
Map
View

Click here to load this message in the networking platform