Hi,
Apologies!
I did the following (my simple example was so that I didn't have to write loads of columns, etc...).
select customer_id, {all other fields}, max(valid_from) from (
select customer_id, {all other fields}, valid_from from table where ( all exclusions, etc )
) group by...
Hi,
I had some trouble using this with the String.Append function. Somebody told me about the Environment.Newline constant in the System.Environment collection.
Maybe useful? Maybe not......
Dom
Hi,
Thanks for the help. I had tried using a subquery - the problem was the resultset was way to slow. I have now managed it using something similar to carp's pointers.
Thanks for the help.
Dom
Hi,
I am trying to construct a view in an Oracle database.
I have a select statement that returns something like below:
CUSTOMER_ID VALID_FROM
100 08/02/2004 00:01:11
100 08/02/2004 00:02:11
100 08/02/2004 00:03:11...
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.