Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Brain dead - SQL syntax
Message
De
07/09/2007 15:13:43
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Titre:
Brain dead - SQL syntax
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01253096
Message ID:
01253096
Vues:
67
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform