Viewing 6 posts - 1 through 6 (of 6 total)
The cursor is not a very elegant solution though...
😛
December 10, 2009 at 7:07 am
My try at providing a solution:
First I have this function that I use a lot:
create function [SplitString] (
@String varchar(8000),
@Delimeter char(1) = ',') returns...
December 10, 2009 at 6:45 am
How 'bout:
;with
ValidParts(partnbr) as(
select partnbr from Parts
except
select partnbr from ExclusionList)
select count(1)...
December 10, 2009 at 1:03 am
Have a look at this article by Jeff Moden:
August 27, 2008 at 1:16 am
I'm using Visual Studio to create reports. There is a property called "HideDuplicates" that can be switched on that will give the results you are looking for.
August 25, 2008 at 3:52 am
with RawData (EmpRow, ShiftID, TableID, StationID, EmployeeID, MusselCount, CounterDateTimeStamp) as (
select
row_number() over (partition by EmployeeID order by ShiftID, TableID, StationID),
ShiftID,
...
August 25, 2008 at 2:11 am
Viewing 6 posts - 1 through 6 (of 6 total)