Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get All Combinations
Message
From
19/01/2016 14:39:18
 
 
To
19/01/2016 14:31:15
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
01629948
Message ID:
01629951
Views:
46
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
Previous
Reply
Map
View

Click here to load this message in the networking platform