Viewing 15 posts - 436 through 450 (of 468 total)
here is the problem simplified:
i have a table, with 2 cols in it
invoiceID , invoiceNumber
invoiceID is unique. there are duplicate invoiceNumbers. how do i delete the duplicates
( note the table...
May 30, 2006 at 7:53 am
SELECT
InvoiceGuid
,CreditNoteID
,InvoiceHeaderID
,InvoiceBatchID
,BillToAccountName
,BilltoAccountCountry
,BillToAccountCountryCode
,BillToContactName
FROM
mcsInvoice
WHERE
InvoiceBatchID IN (
SELECT
InvoiceBatchID
FROM
mcsInvoice
GROUP BY
InvoiceBatchID
HAVING
Count(1) > 1)
i have tried this and it returns everything in my table. there are over 3000 rows in the table. i am pretty sure there are about...
May 26, 2006 at 11:05 am
here is the actual query i am running to get the data i require ( sorry its a bit long but it might demonstraight exactly what im looking to get:
May 26, 2006 at 10:49 am
i want to return all the data from all the rows rows where col1 is not distinct. col1 isnt a primary key, but its still supposed to be distinct.
so i...
May 26, 2006 at 10:38 am
the problem with that is it will select all rows in the table that are distinct, which is most rows. i only wnt the ones that are duplicates
May 26, 2006 at 10:17 am
i have read the post which you provided a link to, but im still a bit hazy.
heres my exact problem. i some rows in my table( not very many)...
May 26, 2006 at 9:59 am
got it sorted. just blind looking at code. was easy. sorry to bother you all
May 23, 2006 at 6:11 am
its a design kind of question.
eg. in the flat file i each row must contain customer info, program info, goal Info. thats no prob as they all lead on...
May 23, 2006 at 4:52 am
that pretty much explains my question. thanks dude
April 28, 2006 at 7:34 am
solved. had to go to workflow properties for each object and set to execute on main thread. works fine now. thanks all
April 27, 2006 at 4:35 am
the thing is though, i never created an odc connection. the report just worked on my pc, i thought id have to create the connection myself. can excel carry a...
April 26, 2006 at 9:42 am
the inner sproc takes the @customerId,@programId, @period, , calls another sproc and returns all "goals" and goal related info for that particular customer in relation to that program. here is...
April 18, 2006 at 10:40 am
i have done this, and although it adds the tables to the diagram, i dont get any relationships showing up. i have looked around but can find no setting to...
April 10, 2006 at 3:18 am
thank you. that worked a treat. i would have searched, but i didnt know what to search for.
April 7, 2006 at 9:26 am
i did i did!! i am getting a result back for @numRows, but thats in the context of the dynamic sql, and i cant reference that outside of the...
April 7, 2006 at 8:34 am
Viewing 15 posts - 436 through 450 (of 468 total)