Viewing 11 posts - 1 through 11 (of 11 total)
I got this to work somewhat..
All this while I was executing a single task but I debugged my package now and it started logging into the text file and...
October 6, 2009 at 1:16 am
So...you want a query to give you results from a table, and your primarily interested on how to do this using 'OVER'? Which version of SQL Server are you using?
yes...
July 17, 2008 at 3:34 am
thanks d_sysuk for that using rank and over.. that works beautifully!
i work with 2005 so just need to bother with that for now...
July 17, 2008 at 3:32 am
sol (7/16/2008)
Because user can input "%" or "*" in their input string and so, your condition will fail to compare...
July 17, 2008 at 12:24 am
San, do you have any more information regarding this puzzle? For instance, are you aiming to change an existing table to meet your criteria, or to return a satisfactory result...
July 16, 2008 at 10:17 am
I too think 'Like' is the best solution as suggested above.
July 15, 2008 at 10:57 pm
Jeff Moden (7/15/2008)
July 15, 2008 at 10:50 pm
Thanks min max functions are an easy way to do it
July 15, 2008 at 6:47 am
Yes absolutely.
Thanks to both of you!
July 15, 2008 at 6:37 am
Thanks!
Well we have found another way to do the same without OVER
select * from testtable
select distinct id, (select top 1 datavalue from testtable where id = t1.id) from testtable t1
July 15, 2008 at 6:00 am
Thanks for the replies!
It worked.
Is there any way to do this without the OVER clause?
Also can you also suggest me a good article on the window aggregate functions. The OVER...
July 15, 2008 at 5:43 am
Viewing 11 posts - 1 through 11 (of 11 total)