Viewing 15 posts - 1 through 15 (of 36 total)
i have a problem with using numbers like 1111, 8888, 7777 etc in that sort field... whats the point of limiting a "sort" field to these numbers? i dont...
April 24, 2013 at 7:48 pm
first of all naming a column and the table "Students is no good!
, this gave me a duplicate and counted the number of duplicates
SELECT Student, IDNo,...
April 24, 2013 at 7:43 pm
kevin_nikolai (4/23/2013)
I think I should rather have named the title of my post:
How to find duplicates...
April 24, 2013 at 7:15 pm
how about if you join the fields?
Try this:
WITH CTE (emppin,trxdate, trxtime, DuplicateCount)
AS
(
SELECT emppin,trxdate, trxtime,
ROW_NUMBER() OVER(PARTITION BY emppin,trxdate, trxtime ORDER BY emppin) AS DuplicateCount
FROM dbo.rawtrx
)
DELETE
FROM CTE
WHERE DuplicateCount > 1
you need...
April 21, 2013 at 5:26 pm
okay, after reading further your questions and scenarios... i doubt that my last post would work...
how many times do you have the same student recurring? do you ever have...
April 19, 2013 at 7:55 pm
SELECT EmpPin, trxdate, trxtime, COUNT(*) AS dupes
FROM dbo.rawtrx
GROUP BY EmpPin, trxdate, trxtime
HAVING ...
April 19, 2013 at 7:49 pm
exec sp_addlinkedserver @server='FTDP',
@srvproduct= 'Access',
@provider= 'Microsoft.ACE.OLEDB.12.0',
@datasrc= 'C:\ftdp.mdb'
you need to download the oledb.12.0 provider from microsoft website. just google it.
my problem is becoming even more interesting. I installed sql server...
April 19, 2013 at 7:35 pm
Thanks for the reply. I guess the only way to find out is to actually try it.
Gonna let the forum know what my results are ... Speed wise, i...
March 23, 2013 at 6:45 am
can i just delete this topic? i mean no one responding to u...and i would rather it deleted.
thanks.
January 4, 2013 at 4:33 pm
Okay, thanks for the reply. The system is running well for the time. I am 90% satisfied with its performance.
This is a Time and Attendance / Payroll system. It collects...
December 20, 2012 at 5:08 pm
ah! yes, i did try this ...i got an error but i know what the reason for the error is so it will work. Thanks.
November 27, 2012 at 6:13 pm
ALTER PROCEDURE dbo.zz_sp_testing_inout
AS
WITH rows AS (SELECT *, row_number() OVER (ORDER BY emppin, trxdate) AS rownum
FROM ...
November 27, 2012 at 4:10 am
with rows as (
select *, row_number() over (order by emppin, trxdate) as rownum
from rawtrx)
select *, rowsMinusOne.trxtime as trxtimeIN,
ISNULL(rows.trxtime,1) as trxtimeOUT
from rows as rowsMinusOne
...
November 5, 2012 at 6:45 pm
To the original poster...If you haven't figured this out yet, let us know. I got the perfect solution...i feel so much like a genius day by day...
November 5, 2012 at 3:22 pm
i think jack pretty much has the idea...i'm looking for a solution for this problem right now my self.
i originally used the quirky update to test the transaction number for...
November 4, 2012 at 5:28 pm
Viewing 15 posts - 1 through 15 (of 36 total)