Just wanted to give an update of what I found to work just in case anyone else stumbled upon this and wanted to use it. I started with what markros originally suggested and added to the order by statement and joined subsequent blocks.
In the order by statement I concatenated all the fields I...
You are correct markros, the data should be selected chronologically. I will work on joining the different data sets and see what I come up with and post it back. Thanks for all of your help.
This is very helpful. Just one more question. This seems to work for one block of data, but how would I do it to get the data from the other blocks? Lets say for example that I get the name information from row 1 in a set, but I need to get the address info from the 3rd row. I see how I can get...
I am not exactly sure what this is doing...in the over clause the case is when First_Name is NULL what does the 99 and 1 do for you?
I ran it and I am getting data on most of them, but I want to be clear on how it works since I will have to be doing it with other blocks of data.
I have a project I am working on where I have a table full of client data that some clients have multiple records in, updates and such. I need to filter the data down to one record per client.
The way I need to do this is to take each group of records for a client and order them by their...
Thanks. Both solutions work great. I like the simplicity of the code from RiverGuy, which was also very similar to the first few examples on that blog, but it is possible to have accounts where there are multiple rows for with the same date, it doesn't really matter which one of these I pick but...
I am working on a data migration project in which I have account data that I am massaging into a new format. I am also filtering out data that is not needed in the new system. For each account I can have 1 to n records that represent updates to the account and I want to create a query that will...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.