General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Brain dead - SQL syntax
Environment versions
SQL Server:
SQL Server 2000
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
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