Viewing 12 posts - 1 through 12 (of 12 total)
Guys, I too agreee that re-inventing the wheel is never a good option but then consider this where there are millions of historic transactions and the only way to cut...
January 18, 2013 at 9:35 am
--Sorry , here it is :
Create Table Invoice (InvoiceId nvarchar(10), SeqNo smallint, Product nvarchar(10), Amount int)
Go
Insert into Invoice
Values ('I1',1,'P1',10),('I1',2,'P2',15),('I1',3,'P3',25),('I2',1,'P1',15),('I2',2,'P1',35)
Create Table Payment (InvoiceId nvarchar(10), ReceiptId nvarchar(10), Amount int)
Go
Insert...
January 11, 2013 at 9:55 am
This is just a ExecuteSQLAgent task in SSIS which selects the job in the server which has that job . The task succeeds even thought the job fails. This...
September 12, 2012 at 7:04 am
Yeah agree.. but imagine if we have almost 500K pictures to convert .. What would be the best approach then ?
August 8, 2012 at 4:03 am
I am afraid I dont know .. thats the legacy data ..
August 8, 2012 at 2:51 am
Hi ,
Thanks , it does give the right results .
However, just to understand the code , what does the n%2 in the Where condition signify ?
thanks
June 13, 2012 at 3:15 am
I think you have not understood the requirement. Your CTE will give the difference between previous and current time. But the requirement is to get the time difference from the...
May 29, 2012 at 4:07 am
The logic seems to be to always select the first row (10:22 here), skip the second row because 12:15 is within 2 hours of 10:22, select 13:22 because it is...
May 29, 2012 at 3:26 am
Yes your analysis is right .
My SQL version is - SQL 2008 R2 - Enterprise
My real table has several million MID and the time type is currently varchar...
May 29, 2012 at 12:09 am
Viewing 12 posts - 1 through 12 (of 12 total)