473,785 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Daisy Chain data sqls extraction

1 New Member
I have situation where table contains data where subset of a data can be linked.
Ex: Col1 COL2
1 2
1 3
3 4
5 8
8 9
Some kind of Daisy Chain situation.

I need sql which will update third column where all rows linked.
Ex:
COL1 COL2 Group_ID
1 2 1
1 3 1
3 4 1
5 8 2
8 9 2


Can anybody have any solutions using with or with out temp tables?
Aug 13 '07 #1
0 1077

Sign in to post your reply or Sign up for a free account.

Similar topics

35
3685
by: Troll | last post by:
Hi, I need to write a script which reads some data and reports the findings. Just to give you an idea the structure is similar to the following. Data input example: HEADING 1 ********** ColumnA ColumnB ColumnC ColumnD ColumnE
8
2811
by: Xah Lee | last post by:
there is a MacPerl program posted in 1998 that uses Mac's speech synth to sing Daisy Bell. See: http://bumppo.net/lists/macperl/1998/11/msg00412.html can anyone modify it so it runs out of the box on today's OS X? PS i'm posting this also in python and lisp group, i hope it'd be some general interest. For some background of this song, see
0
1272
by: WindAndWaves | last post by:
Dear Gurus I am trying to export some data to excel from a form, but I seem to run into difficulties when the user has filtered for particular data that is from a dropdown (linking to another table in a one to many relationship). The W (filter for the form) that caused the error was WHERE (((.DD="New York"))) AND ((.DD="X"))
8
1736
by: WindAndWaves | last post by:
Hi Gurus I have a query that contains reference to the following function: Public Function UserStatus() As Byte Const ProEro = 1: 'on error GoTo ERR '--- UserStatus = Nz(DLookup("", "", "!=" & WHOM()), 0) xit:
2
2975
by: Jason Huang | last post by:
Hi, Would someone show me how to do the data extraction to Excel in ASP.Net using C# web form? I am not familiar with VB, so I am asking someone to help me out! Any help will be appreciated. Jason
5
3654
by: Jason | last post by:
Hello, I am testing a complex J2EE application on WebSphere and UDB V8.2.3. Because of the compliexity of the application, we have to run it a few hours to finish all test scenarios. One of our test objectives is to identify the top 100 most expensive SQLs (based on CPU time, the total executive time, and the number of executions). So I am trying different DB2 monitoring tools, but I can't get the SQLs that I want. Here is what I...
0
1084
by: bearophileHUGS | last post by:
Several languages like Java, C# etc have a List type in the std lib. Python has a built-in list(), it's implemented as array dynamic on the right. Not too much time ago Hettinger has added a collections.deque (its C code is really nice), that compared to list() allows a faster append on the right and a much faster prepend on the left. It's implemented as a double linked list of fixed-sized blocks. All blocks but the first and last are...
4
2899
by: aj | last post by:
Microsoft SQL Server 2005 - 9.00.3054.00 (X64) (Build 3790: Service Pack 2) Last Friday we had a situation where the DNS system inside our Active Directory server went weird. I know this isn't a DNS or AD NG, but please bear with me... The DNS server didn't really stop working - it was just taking a looooooonnnggggg time to service requests. During this, the SQL server (SQLS) engine had lots of (mostly jdbc) connections to web
2
2507
by: amit2781 | last post by:
Hi, Can you please provide me the any script which written for daisy chain replication topology? Any help on this highly appreciated.
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7510
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4063
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.