Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get All Combinations
Message
De
19/01/2016 14:39:18
 
 
À
19/01/2016 14:31:15
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
01629948
Message ID:
01629951
Vues:
45
I *think* this will work for Issue #1
CREATE TABLE dbo.Options ( OptionValue varchar(2))

INSERT INTO dbo.Options VALUES ('A1'), ('B2'), ('C3'), ('D4'), ('E5')
 


SELECT a.OptionValue, b.OptionValue
FROM Options A
CROSS JOIN Options B
where A.OptionValue < B.OptionValue
order by a.OptionValue
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform