﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server Newbies  / Generating Combination Numbers / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Mon, 20 May 2013 14:30:43 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Generating Combination Numbers</title><link>http://www.sqlservercentral.com/Forums/Topic960522-1292-1.aspx</link><description>Hi,I Have similar requirement. If anyone solve this, pls let me know. Explanation of the problem. Consider i have two columns with combinations of numbers. I want to pick the genuine combinations of numbers which doesnt involve in other valid conbinations. For ex.,Num1   Num26         22         1 2         34         63         18         93         96         8My result should be 6         23         18         9Can this be done without using loops...</description><pubDate>Thu, 28 Apr 2011 04:30:22 GMT</pubDate><dc:creator>dinesh.spn</dc:creator></item><item><title>RE: Generating Combination Numbers</title><link>http://www.sqlservercentral.com/Forums/Topic960522-1292-1.aspx</link><description>Please provide the DDL for the tables and examples that you have already tried</description><pubDate>Thu, 29 Jul 2010 03:21:26 GMT</pubDate><dc:creator>Stewart "Arturius" Campbell</dc:creator></item><item><title>RE: Generating Combination Numbers</title><link>http://www.sqlservercentral.com/Forums/Topic960522-1292-1.aspx</link><description>[quote][b]varunfilim (7/29/2010)[/b][hr]Hi friends,I have a scenario where the table values areID    First   Second1	6	21	4	21	2	22	6	12	4	12	2	1From this table I want to generate a combination  where Next ID values is max(previous ID) ie 3 and a combination of first and second which didnt come in the Previous combination, for eg3      6       23      4       13      2       2Can any solve this issue...help appreciated...[/quote]Umm, why not: -3      6       23      4       23      2       2??Just want to understand the actual requirement before I spend some time.</description><pubDate>Thu, 29 Jul 2010 03:11:29 GMT</pubDate><dc:creator>Cadavre</dc:creator></item><item><title>Generating Combination Numbers</title><link>http://www.sqlservercentral.com/Forums/Topic960522-1292-1.aspx</link><description>Hi friends,I have a scenario where the table values areID    First   Second1	6	21	4	21	2	22	6	12	4	12	2	1From this table I want to generate a combination  where Next ID values is max(previous ID) ie 3 and a combination of first and second which didnt come in the Previous combination, for eg3      6       23      4       13      2       2Can any solve this issue...help appreciated...</description><pubDate>Thu, 29 Jul 2010 01:01:18 GMT</pubDate><dc:creator>varunfilim</dc:creator></item></channel></rss>